470,648 Members | 1,608 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

Using DOM Interfaces

I'm looking for help using the DOM interfaces in Internet Explorer. I want
to open a new window from a page and copy the contents of a hidden <iframe>
into it. I've been researching this and trying out some code for the past
few days without any luck. Can someone tell me if this is even possible and
perhaps offer some suggestions or sample code?
Jul 23 '05 #1
1 925


Tom Frantz wrote:
I'm looking for help using the DOM interfaces in Internet Explorer. I want
to open a new window from a page and copy the contents of a hidden <iframe>
into it. I've been researching this and trying out some code for the past
few days without any luck. Can someone tell me if this is even possible and
perhaps offer some suggestions or sample code?


IE so far doesn't support importNode so there is no proper W3C DOM
compliant way to copy nodes from one document (e.g. your hidden frame)
to another document (e.g. your popup window). Instead with IE you need
to copy the innerHTML or outerHTML of an element and insert it into the
other page using insertAdjacentHTML for instance.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Stumped and Confused | last post: by
11 posts views Thread by Ian | last post: by
26 posts views Thread by Marius Horak | last post: by
13 posts views Thread by Daniel Kay | last post: by
5 posts views Thread by ssg31415926 | last post: by
1 post views Thread by Korara | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.