SyntaxFix
Write A Post
Hire A Developer
Questions
Setting 'checked' or null instead of true or false respectively will do the work.
// checkbox selection var $chk=$(':checkbox'); $chk.prop('checked',$chk.is(':checked') ? null:'checked');