autocheck checkbox jquery code example
Example 1: Setting “checked” for a checkbox with jQuery
$('.myCheckbox').prop('checked', true);
$('.myCheckbox').prop('checked', false);
Example 2: uncheck checkbox based on id js
const checkBox = doument.getElementById(id);
checkBox.checked = false;