File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
    Bookmark Topic Watch Topic
  • New Topic

how to use a struts tag inside innerHTML

 
sanju sreedharan
Ranch Hand
Posts: 48
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic