jquery html radio button checked code example
Example 1: if radio checked jquery
$('#element').click(function() {
if($('#radio_button').is(':checked')) { alert("it's checked"); }
});
Example 2: jquery select radio
$(function() {
var $radios = $('input:radio[name=gender]');
if($radios.is(':checked') === false) {
$radios.filter('[value=Male]').prop('checked', true);
}
});