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