how to uncheck checkbox using jquery code example
Example 1: how to uncheck a checkbox in jquery
$("#myCheckBox").prop("checked", false);
Example 2: jquery uncheck checkbox
$('#myCheckbox').prop('checked', true);
$('#myCheckbox').prop('checked', false);
Example 3: get unchecked checkbox jquery
if ($("#check_box_id").is(':checked')) {
alert("checked");
}else{
alert("unchecked");
}
Example 4: jquery checkbox unchecked
$("input:radio[name='NAME']:radio[value='VALUE']").attr("checked",true);
$("input:radio[name='NAME']").removeAttr("checked");