Bug Tracker

Modify

Ticket #6200 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

.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:
Blocking: Blocked by:

Description

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

Attachments

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

Change History

Changed 4 years ago by mike67

comment:1 Changed 4 years ago by john

  • Owner set to john
  • Status changed from new to assigned
  • Component changed from unfiled to event
  • Milestone changed from 1.4.2 to 1.4.3

I tested and this happens in IE 6 as well.

comment:2 Changed 4 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 3 years ago by snover

  • Milestone 1.4.3 deleted

Resetting milestone to future.

comment:4 Changed 3 years ago by ollie@…

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

comment:5 Changed 3 years ago by jitter

  • Priority set to low
  • Status changed from assigned to closed
  • Resolution set to fixed
  • Milestone set to 1.4.3

Fixed. Can be seen with this  test case

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.