Last Updated: February 25, 2016
·
22.71K
· iondrimba

Reset jQuery form validation (jQuery.validate)

var form = $("form"),
    validator = form.validate();

 validator.resetForm();
 form.find(".error").removeClass("error");