Bug Tracker

Modify

Ticket #8010 (closed bug: duplicate)

Opened 2 years ago

Last modified 15 months ago

appendTo does not work in IE8 on an empty popup

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

Description

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

Demo:  http://jsfiddle.net/kxbur/

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

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

Change History

comment:1 Changed 2 years ago by TiTi

Bug documentation and solution here:

 http://tamentis.com/doc/no_such_interface/

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

comment:2 Changed 2 years ago by TiTi

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:  http://jsfiddle.net/yfWzR/1/

comment:3 Changed 2 years ago by jitter

  • Priority changed from undecided to low
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to manipulation

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.

comment:4 Changed 2 years ago by jitter

Duplicate of #4059.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.