get value of radio button group javascript code example
Example 1: radio button group get value javascript
$('input[name=gender]:checked').val();
Example 2: set radio button group value
$("input[name=mygroup][value=" + value + "]").prop('checked', true);