Bookmark Topic Watch Topic
  • New Topic

how to use a struts tag inside innerHTML

 
sanju sreedharan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Report post to moderator
can anyone tell me how to use a struts tag inside innerHTML..

thanks
sanju
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
*sigh*

You need to duplicate the HTML emitted by the Struts tag.
 
sanju sreedharan
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Report post to moderator
david

can you please tell me with an example

sanju
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
...

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
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.
 
    Bookmark Topic Watch Topic
  • New Topic