checked each function in jquery radio button code example
Example 1: jquery radio button checked event
$('input:radio[name="postage"]').change(function(){
if ($(this).val() == 'Yes') {
//true
}
else {
//false
}
});
Example 2: jquery chek radio
//<input type="radio" name="book_condition" value="3" >
$("input:radio[value='3'][name='book_condition']").prop('checked',true);