Bug Tracker

Opened 7 years ago

Closed 6 years ago

#6200 closed bug (fixed)

.live(... broken in 1.4.2 using IE8

Reported by: mike67 Owned by: john
Priority: low Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description

Version 1.4.2 breaks 'live' function in combination with IE8. No problem with 1.4.1. See attached demo.

Attachments (1)

bugdemo.zip (838 bytes) - added by mike67 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by mike67

Attachment: bugdemo.zip added

comment:1 Changed 7 years ago by john

Component: unfiledevent
Milestone: 1.4.21.4.3
Owner: set to john
Status: newassigned

I tested and this happens in IE 6 as well.

comment:2 Changed 7 years ago by rares

I have experienced similar issues in IE6 wiring up a submit event with live (but only in a specific scenario):

$(function() {
   $("#purchase_form").live("submit", function() {
     var buy = $(this).find("#purchase_form_buy");
     buy.attr("disabled", true);
     buy.addClass("disabled");
     buy.html("<span>processing...</span>");
     return true;
   });
 });

further down in the page there is another script block that defines a domready block but does not utilize live at all.

On another page entirely, we use live to wire up submit and there are no issues present in IE 6...

comment:3 Changed 6 years ago by snover

Milestone: 1.4.3

Resetting milestone to future.

comment:4 Changed 6 years ago by ollie@…

.live is still broken in JQuery 1.5 on IE 8.

comment:5 Changed 6 years ago by jitter

Milestone: 1.4.3
Priority: low
Resolution: fixed
Status: assignedclosed

Fixed. Can be seen with this test case

Note: See TracTickets for help on using tickets.