This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts2 - How to get the value of struts tag in javascript  RSS feed

 
Paul Michael Serrano
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day,

Do you have any idea on how can i take the value of struts tag <s:property value="#session.stringVars"/> to javascirpt?

-Paul
 
Ankit Garg
Sheriff
Posts: 9608
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can wrap the s:property tag in a div tag and give the div an ID, and use that ID to get the div's value (using innerHTML) in javascript...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!