Re: Create DOM object holding an external page
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: Create DOM object holding an external page

From: Martin Honnen <mahotrash@yahoo.de>
Date: Sat Apr 29 2006 - 13:59:46 CEST

vhg119 wrote:

> how would I do this? I know I can hack around and load the
> content.html in an iframe embedded in index.html. Then, I can make the
> iframe not visible. But, If theres a better way to do this (an easier
> way), I'd much rather take that approach.

Use the iframe, there are no pure in memory text/html DOM
implementations currently in browsers that would allow loading from a URL.
Iframes on the other hand are quite well supported.

-- 
	Martin Honnen
	http://JavaScript.FAQTs.com/
Received on Mon May 1 05:26:50 2006