Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13890 closed bug (notabug)

Injected form and its submit event doesn't fire

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.0
Keywords: Cc:
Blocked by: Blocking:

Description

I'm using jQuery 2.0.0 and Firefox 20 and if I inject a form to the page the selector and its submit event doesn't fire.

Test case: http://jsfiddle.net/VPGpy/

Change History (1)

comment:1 Changed 10 years ago by Timmy Willison

Resolution: notabug
Status: newclosed

You need to use event delegation.

http://jsfiddle.net/VPGpy/1/

Note: See TracTickets for help on using tickets.