Bug Tracker

Modify

Ticket #5522 (closed bug: invalid)

Opened 4 years ago

Last modified 3 years ago

IE8 expando bug

Reported by: kempelen Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocking: Blocked by:

Description

In firefox&chrome it works without any problem, but in IE8 it does not OK: I have a two div elements with click event listeners attached. When I regenerate the two divs after an ajax call, and reattach the event listeners, the two divs will have the same expando attribue value. It causes that only the first div's events will be triggered, the second one does not work anymore.

I patched my code to remove the expando attribute from the div before new event listeners are attached: postit.removeAttr(expando); ,but first I had to make the expando jquery variable global for this.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Can you reopen with a test case? It's not totally clear what is happening from the description. Thanks.

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.