I was trying to figure out for some time what is happening with my validation of the HTML5 form and I noticed that:
submit()
function it gets submitted and validation does not seem to work.It is consistent in all OSX browsers (FF5, O11, Chr13) but Safari 5, which actually does not validate in neither of the cases.
Here is the jsFiddle to test.
Why the second option does not work?
Seems like the submit button has to be triggered somehow. This would not surprise, since the browser also does not fire a change event, when one changes the value of a text input via js.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With