documentElement is read-only and is at the document. level:
document.documentElement
and make sure both iframes are in the same domain, there's no access on
crossdomains objects.
Danny
seans said the following on 8/30/2005 9:36 AM:
> Hi,
>
> Please, can somebody help me with this? I have two iframes. The
> contents of the first iframe are changed dynamically at run time. I
> want to take the contents of the first iframe and display them in the
> second iframe. Is it possible to do this?
Yes. If the first IFrame is changed dynamically at run time, have
whatever mechanism is dynamically changing it to dynamically change the
second one.
> I tried using the following code:
>
[quoted text clipped - 11 lines]
> the second frame. Is it possible to do this or must the string be a
> file/url?
Looks like a whole lot of trouble to produce IE only code.
See above.

Signature
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
seans - 31 Aug 2005 10:31 GMT
> seans said the following on 8/30/2005 9:36 AM:
>
[quoted text clipped - 32 lines]
> Randy
> comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Thanks to both of you for your help.
sean