check and uncheck code example
Example 1: how to uncheck a checkbox in jquery
$("#myCheckBox").prop("checked", false);
Example 2: Setting “checked” for a checkbox with jQuery
$('.myCheckbox').prop('checked', true);
$('.myCheckbox').prop('checked', false);