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