how to check and uncheck checkbox in jquery button click code example
Example 1: how to uncheck a checkbox in jquery
$("#myCheckBox").prop("checked", false);
Example 2: jquery uncheck checkbox
$('#myCheckbox').prop('checked', true); // Checks it
$('#myCheckbox').prop('checked', false); // Unchecks it