Bug Tracker

Opened 11 years ago

Closed 11 years ago

#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:
Blocked by: Blocking:

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 (1)

comment:1 Changed 11 years ago by flesler

Component: unfilledevent
Resolution: wontfix
Status: newclosed

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.

Note: See TracTickets for help on using tickets.