How to set radio option checked onload with jQuery?
Need to check if no default is set and then set a default
How about a one liner?
$('input:radio[name="gender"]').filter('[value="Male"]').attr('checked', true);