S
seans
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? I tried using the following
code:
function getLframe() {
return parent.frames['frame1']
}
function getLframedoc() { return (getLframe()).document
}
str = (getLframedoc()).documentElement.outerHTML
document.all.iframe2.src = str
but all I get is the message "Bad Request (Invalid URL)" displayed in
the second frame. Is it possible to do this or must the string be a
file/url?
thanks again.
sean
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? I tried using the following
code:
function getLframe() {
return parent.frames['frame1']
}
function getLframedoc() { return (getLframe()).document
}
str = (getLframedoc()).documentElement.outerHTML
document.all.iframe2.src = str
but all I get is the message "Bad Request (Invalid URL)" displayed in
the second frame. Is it possible to do this or must the string be a
file/url?
thanks again.
sean