I tried to figure out what was happening with my HTML5 form validation, and I noticed that:
- when I submit the form using the submit button, validation is done OK
- when you try to submit the form programmatically using the jQuery submit () function that it submits, and validation does not work.
- when I run the submit form button programmatically, validation works
It is compatible in all OSX browsers (FF5, O11, Chr13), but Safari 5, which is actually not checked in any of the cases.
This is where jsFiddle is tested.
Any idea why the second option is not working?
source
share