I want to display specific hidden forms in JSP depending upon the radio button selected from multiple radio button options. Is there any specific Jquery for that?
Asked
Active
Viewed 511 times
1
-
In the client, there is no JSP, only HTML. – Diodeus - James MacFarlane Apr 02 '13 at 19:57
1 Answers
0
One possible solution: Use the selector :checked
if ($('input:checked').val() == 'Milk')
Check out the working example on JSFiddle

David
- 3,388
- 2
- 21
- 25
-
Thanks got it.. http://stackoverflow.com/questions/2777139/how-to-use-jquery-to-show-hide-divs-based-on-radio-button-selection -see this post too. – Arup Pyne Apr 02 '13 at 20:59