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