| Author |
Struts2 - How to get the value of struts tag in javascript
|
Paul Michael Serrano
Ranch Hand
Joined: Nov 22, 2004
Posts: 59
|
|
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
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9189
|
|
|
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...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
 |
|
|
subject: Struts2 - How to get the value of struts tag in javascript
|
|
|