jQuery mendapatkan nilai input radio
$('input[name="name_of_your_radiobutton"]:checked').val();
Smoggy Snake
$('input[name="name_of_your_radiobutton"]:checked').val();
var value = $('input[name="name_of_your_radiobutton"]:checked').val();
$('form input[type=radio]:checked').val();
$('input[name="name_of_your_radiobutton"]:checked').val();
$("input[name=mygroup][value=" + value + "]").prop('checked', true);