Skip to main content

Bug Tracker

Side navigation

#3415 closed bug (wontfix)

Opened September 26, 2008 06:34PM UTC

Closed October 22, 2008 03:38PM UTC

$("#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:

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.

Attachments (0)
Change History (1)

Changed October 22, 2008 03:38PM UTC by flesler comment:1

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.