SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to use form's reset feature, you'd better to use this:
$('input[type=checkbox]').prop('checked',true);
OR
$('input[type=checkbox]').prop('checked',false);
Looks like removeAttr() can not be reset by form.reset().
removeAttr()
form.reset()