Bug Tracker

Opened 11 years ago

Closed 11 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 )

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: fixed
Status: newclosed

Should be fixed at [6186], see ticket #3500.

Note: See TracTickets for help on using tickets.