Side navigation
#3560 closed bug (invalid)
Opened October 31, 2008 07:49PM UTC
Closed October 31, 2008 09:14PM UTC
Last modified March 15, 2012 12:01AM UTC
jquery.validator.js plugin: submit on enter-key overrides validation
Reported by: | mromaine | Owned by: | joern |
---|---|---|---|
Priority: | critical | Milestone: | 1.3 |
Component: | plugin | Version: | 1.2.6 |
Keywords: | jquery validator | Cc: | |
Blocked by: | Blocking: |
Description
This might be an FF3 specific bug, but in FF3 go to:
http://docs.jquery.com/Plugins/Validation/valid
hit TAB until focus is on the demo input box and type a few characters, then hit enter (do NOT hit tab again before hitting enter; the cursor / focus must be on the input box still).
result:
form is submitted (in this case, jQuery webpage loads inside frame
basically, it seems the enter-key is not caught by the validator if focus is on a form input and is pressed ...