Skip to main content

Bug Tracker

Side navigation

#8010 closed bug (duplicate)

Opened January 19, 2011 12:39PM UTC

Closed January 19, 2011 04:50PM UTC

Last modified March 14, 2012 08:02PM UTC

appendTo does not work in IE8 on an empty popup

Reported by: TiTi Owned by:
Priority: low Milestone:
Component: manipulation Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:


It seems I'm unable to append elements in IE8 (works on FF & Chrome & Opera) on an empty popup opened with


Note: Do NOT close the popup before closing the alert()

Error is "no such interface support": fragment.appendChild( ret[i] );

Attachments (0)
Change History (4)

Changed January 19, 2011 12:54PM UTC by TiTi comment:1

Bug documentation and solution here:

Seems jQuery isn't part - for now - of the group mentionned : "Most JS framework already have a solution to this issue" :p

Changed January 19, 2011 01:59PM UTC by TiTi comment:2

The link I previously mentionned is correct:

"The solution to this issue is to create all the elements AND EVENTS using the new window and not the original one".

Their example is not as clear as it could be however...

.appendTo() works great if you pass a DOM element created with the new window.

But fail if created from original window (html string or created with $() just before).

Enhanced demo & workaround:

Changed January 19, 2011 04:50PM UTC by jitter comment:3

component: unfiledmanipulation
priority: undecidedlow
resolution: → duplicate
status: newclosed

Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a test case!

This is a known issue you can follow the ticket below for progress on this.

Changed January 19, 2011 04:51PM UTC by jitter comment:4

Duplicate of #4059.