get the selected radiobutton in a group with javascript code example Example: radio button group get value javascript $('input[name=gender]:checked').val();