Setting checked for a checkbox with jQuery - Stack Overflow Note that this is the approach used by jQuery's unit tests prior to version 1 6 and is preferable to using $(' myCheckbox') removeAttr('checked'); since the latter will, if the box was initially checked, change the behaviour of a call to reset() on any form that contains it – a subtle but probably unwelcome behaviour change