I have a form that uses HTML5 "required" validation, I found that if you try to submit the form in IE, the inputs will be highlighted in red with an invalid pseudo-class - great.
If I complete the form and submit it via AJAX, then after success is given form.reset (), is an invalid pseudo-class re-applied to form elements that highlight all "required" inputs in red?
How do I reset / completely clear a form, including an invalid pseudo-class?
source
share