html radio group js pass value code example Example: radio button group get value javascript $('input[name=gender]:checked').val();