GG3D
07-20-2002, 10:36 AM
Hi,
I use an iframe which calls a function X in the parent page. There is a layer in the iframe. And I want to change its text with innerHTML. But I don't know what do I put instead of the ??.
------------------
function X:
....
with (??)
innerHTML = unescape(aper)
....
------------------
when the layer is in the same page, it works just with the name of the layer.
(name of the layer: apercu1layer)
(name of the iframe: apercu1iframe)
Thanks,
I use an iframe which calls a function X in the parent page. There is a layer in the iframe. And I want to change its text with innerHTML. But I don't know what do I put instead of the ??.
------------------
function X:
....
with (??)
innerHTML = unescape(aper)
....
------------------
when the layer is in the same page, it works just with the name of the layer.
(name of the layer: apercu1layer)
(name of the iframe: apercu1iframe)
Thanks,