I want to reset the errors detected on the form with开发者_运维百科out clearing the form contents. So for this case, validator.resetForm()
wont work.
How can I achieve this?
You could do (adjust if you have custom errors)...
form.find('label.error').remove();
精彩评论