Reputation: 22527
I am running into issues with the jquery form validation plugin. It is allowing the form to be submitted in IE, also, it is allowing form submission in Firefox if two previously invalid required fields are fixed (even if there are other invalid fields).
http://superuntitled.com/dev/index.html
The js is the most basic use of validate()
$("#emailform").validate();
The class names are correctly set (required
, email
).
Are there any none gotchas or bugs for this script?
I am using jQuery 1.6.2 and the jQuery Validation Plugin 1.8.1
Upvotes: 0
Views: 674
Reputation:
You may be triggering JavaScript exceptions, which are causing your script to terminate. Once that happens, the default form is submitted, as that would be the normal HTML action without the JS.
Upvotes: 1