Skip to main content

Bug Tracker

Side navigation

#3282 closed bug (fixed)

Opened August 22, 2008 05:58PM UTC

Closed February 13, 2009 03:53AM UTC

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 )

Attachments (0)
Change History (1)

Changed February 13, 2009 03:53AM UTC by dmethvin comment:1

resolution: → fixed
status: newclosed

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