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