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