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