1

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?

Arup Pyne
  • 13
  • 3

1 Answers1

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