When I use s:radio tag in struts 2, I'm not able to get the selected value using document.getElementById('radioButtonName').value.(Note :- I'm getting proper value in java from jsp)
It always gives first radio option's value as the value for any option selected.
Ex: When 'Yes' is selected, value rendered is 1 Again for 'No' , the value is 1.
Can somebody tell me how to solve this problem?
Thanks in advance.