benski
Jan 8th, 2001, 08:00 AM
I need to refer to a layer in another frame in my frameset in order to write to that layer.
For instance- if the layer was in my current document, I would simply say:
document.layers["myLayer"].document.open()
document.layers["myLayer"].document.write("some text")
document.layers["myLayer"].document.close()
I can refer to the frame that I want with:
top.frames.FrameName
But I cannot seem to access the properties of the frame to put these two segments together.
ANY help very gratefully received!
For instance- if the layer was in my current document, I would simply say:
document.layers["myLayer"].document.open()
document.layers["myLayer"].document.write("some text")
document.layers["myLayer"].document.close()
I can refer to the frame that I want with:
top.frames.FrameName
But I cannot seem to access the properties of the frame to put these two segments together.
ANY help very gratefully received!