How to pass values from struts select tag to another struts tag?
posted 6 years ago
I have a jsp page that uses struts 2 tags. I am wondering how to hide / display the textfields based on the value of the select tag. For example. Lets say there is a list having A, B and C. I get the value from the action class, say B. Based on this value B, the textbox is hidden or not...
Any Idea on how I implement it???
here is my jsp page.....
Please note that function hideOthers() will work only when we click on the select box......