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