Ticket #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: | ||
| 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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