aspose file tools*
The moose likes Struts and the fly likes how to use a struts tag inside innerHTML Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic
Author

how to use a struts tag inside innerHTML

sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
can anyone tell me how to use a struts tag inside innerHTML..

thanks
sanju
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

*sigh*

You need to duplicate the HTML emitted by the Struts tag.
sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
david

can you please tell me with an example

sanju
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

...

How about viewing the source of the output created by a Struts tag? Then create the new inner HTML using that, but with an increased ID?

This isn't a Struts issue, this is basic JavaScript programming.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61226
    
  66

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: how to use a struts tag inside innerHTML