Skip to main content

Bug Tracker

Side navigation

#6368 closed bug (duplicate)

Opened March 28, 2010 04:41PM UTC

Closed October 09, 2010 10:12PM UTC

Last modified March 14, 2012 01:13AM UTC

jQuery Live binding to form submit in IE

Reported by: ahsteele Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: live Cc:
Blocked by: Blocking:

In Internet Explorer 8 (IE8) binding to the submit event with live does not work but does work in Firefox, Chrome, and Safari.

$('form').live('submit', function (event) {......});

See for discussion.

Attachments (0)
Change History (6)

Changed June 01, 2010 01:44PM UTC by spudly comment:1

i have the same problem. I do this instead, but it won't work if I dynamically add a form element...

$(function () { $('form').bind('submit', handle_submit); });

I would much rather write $('form').live('submit', handle_submit);

Changed September 16, 2010 08:37PM UTC by john.firebaugh comment:2

It's not as simple as described above.

The following works:

However, with a previous live('click'), as described by, it fails:

Changed September 16, 2010 08:38PM UTC by john.firebaugh comment:3

Sorry, swap the failing/working links in the previous comment.

Changed October 09, 2010 10:12PM UTC by john comment:4

priority: → undecided
resolution: → duplicate
status: newclosed

So yeah - this appears to be a duplicate of #6359.

Changed February 03, 2011 07:36PM UTC by petersendidit comment:5

From what I can see with my testing this was solved in 1.4.3

Changed February 04, 2011 04:35PM UTC by eski009 comment:6

I think the problem can still be seen here

Works fine in all browsers except IE8 and below.

Just tried it in jQuery up to 1.5