• Get value of selected radio button using jQuery



    Question: How can I get value of selected radio button using jQuery?

    Answer:
    you can use following JQuery syntax for this:

      var field_name     = 'yourradioname'; //Your Radio Buttons Common Name
      var selected_value =	$("input[name='"+field_name+"']:checked").val();
    


  • Leave a Reply

    Your email address will not be published. Required fields are marked *