Cómo obtener el valor del botón de radio en jQuery
$('input[name="name_of_your_radiobutton"]:checked').val();
Smoggy Snake
$('input[name="name_of_your_radiobutton"]:checked').val();
By LOVE
Here , name=Gender is the name attribute value of the radio button
$("input[name='Gender']:checked").val()
$("input[name=mygroup][value=" + value + "]").prop('checked', true);