Bug Tracker

Modify

Ticket #3415 (closed bug: wontfix)

Opened 5 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to wontfix
  • Component changed from unfilled to event

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.