Opened 14 years ago
Closed 14 years ago
#3282 closed bug (fixed)
clone bug in internet explorer
Reported by: | codar | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.6 |
Keywords: | clone expando | Cc: | |
Blocked by: | Blocking: |
Description
Problem: $('<div><span>test content</span></div>').clone().html() returns <SPAN jQuery1219427608203="null">test content</SPAN>
and on the ...var id = elem[ expando ];.... line id value is "null" it may be null.
Solution: I have debugged jquery and found the solution. this[ expando ] = null; is not correct for ie. Please use the this.removeAttribute( expando )
Note: See
TracTickets for help on using
tickets.
Should be fixed at [6186], see ticket #3500.