how to get which radio button is selected in javascript code example Example: radio button group get value javascript $('input[name=gender]:checked').val();