
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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
