Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How to get document content ?


Message #1 by Oleg Kapeljushnik <c-oleg.kapeljushnik@w...> on Thu, 11 Apr 2002 09:55:28 -0400
Never mind
I found the solution.

Thanks


-----Original Message-----
From: Oleg Kapeljushnik [mailto:c-oleg.kapeljushnik@w...]
Sent: April 11, 2002 9:55 AM
To: javascript
Subject: [javascript] How to get document content ?


Hi All !

I have an HTML page that includes several frames that loads the same data
file.
What I want to do is to load this file only once and then to copy this
document as it is into other frames.
My problem that I cant get all document from one frame. All I cant get is
what inside <BODY> tags.

But if data page have some script in it or some CSS style it will not be
copied.

Is anybody know the way I can get whole HTML code from one IFRAME (include
<HTML> tags) and copy it to another ?

Thanks in advance,
Oleg.



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20

  Return to Index