Side navigation
#5860 closed bug (worksforme)
Opened January 19, 2010 02:32AM UTC
Closed October 31, 2010 09:18AM UTC
Last modified March 14, 2012 12:15AM UTC
preventDefault() does not work in live('submit, ...) when triggered from $('form').submit()
Reported by: | orderedlist | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4.1 |
Component: | event | Version: | 1.4 |
Keywords: | live submit | Cc: | |
Blocked by: | Blocking: |
Description
When triggering a form submission from the submit() method, the event cannot be cancelled as normal, with either return false; or event.preventDefault();
I have attached a test html file.
Interestingly enough, this example works if you place id="submit" on the input, but fails without it.