Modify ↓
Ticket #3415 (closed bug: wontfix)
$("#form").submit(fn) handler does not get triggered when calling document.formName.submit(); in javascript
| Reported by: | fracmak | Owned by: | flesler |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | event | Version: | 1.2.6 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
registering a submit handler using jquery does not get fired when submitting the form using javascript. Calling $("#form").submit(); does work though for submitting the form.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

I think is a native thing of browsers. They simply don't trigger the event, just submit it.
If they were to trigger the native event, jQuery would react.
So I think this needs to be worked around externally.