I know how to do this in jquery. There are two ways: $(document).ready(function(){ $('input:checkbox').prop('checked',false);}); Code (markup): or $(document).ready(function(){ $('#yourcheckbox').prop('checked',false);}); Code (markup): What would be an equivalent to this in pure javascript?
Hi Qwikad. I'd probably use document.querySelector('input[type="checkbox"]').checked = false Code (JavaScript): for the 1st part. Is wrapping it inside $(document).ready() necessary?