I have been asked to disable the \"ticking\" of a checkbox. I am not being asked to disable the checkbox, but to simply disable the \"ticking\".
In other w
Simply revert the value back
$('input[type="checkbox"]').on('change', function(e) { if (new Date().getDate() === 13) { $(this).prop('checked', !$(this).prop('checked')); e.preventDefault(); return false; } // some code here });