Opened 13 years ago
Closed 13 years ago
#5522 closed bug (invalid)
IE8 expando bug
Reported by: | kempelen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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.
Note: See
TracTickets for help on using
tickets.
Can you reopen with a test case? It's not totally clear what is happening from the description. Thanks.