I'm using jquery.validate 1.9 on a form which has html5 form validation. (the required attribute on the input tags) Jquery.validate 1.9 adds a novalidate attribute to the form tag, thus disabling the html5 validation.
But I don't want that! I want the html5 form validation to do the work, with jquery.validate as a backup for older browsers.
Here's my question: how do I turn off jquery.validate adding the novalidate attribute?
Can I set a value or variable here: $("#contactForm").validate(); to turn it off?
As a sidenote: As a temporary solution I grabbed a copy of jquery.validate 1.9 and edited the source code by commenting out line 32 (
http://ajax.aspnetcdn.com/ajax/jquery.validate/1.9/jquery.validate.js). Which solves the problem but isn't very elegant and also forces me to use a local copy on my site instead of using a CDN host.