Answers for "how to get the name of radio button option in jquery"

2

jquery get value radio by name

var value = $('input[name="name_of_your_radiobutton"]:checked').val();
Posted by: Guest on December-17-2020
0

jquery select radio by name

$("input[type='radio'][name='theme']").click(function() {
    var value = $(this).val();
});
Posted by: Guest on April-11-2020

Code answers related to "how to get the name of radio button option in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language