• 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 *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>