This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
In struts el how to get checkbox status with java script, i want to know weather the check box is checked or not
Merrill Higginson
Ranch Hand
Joined: Feb 15, 2005
Posts: 4864
posted
0
Remember that JavaScript always acts upon the rendered html sent back to the browser after all variables have been resolved and all custom tags processed. That means you're dealing with a plain HTML <input type="checkbox" > control. The Struts tag attribute property translates to the HTML attribute name. Also, the Struts attribute styleId translates to the HTML attribute id. Therefore, with a tag like this: