assign value input type radio when is selected code example
Example: jquery select specific radio button by value
$("input[name=mygroup][value=" + value + "]").prop('checked', true);
$("input[name=mygroup][value=" + value + "]").prop('checked', true);