get value of a radio using input name in jquery code example
Example 1: jquery get value of radio input
$('input[name="name_of_your_radiobutton"]:checked').val();
Example 2: jquery select specific radio button by value
$("input[name=mygroup][value=" + value + "]").prop('checked', true);