Click to See Complete Forum and Search --> : frames


donbes
07-28-2003, 08:04 AM
How do I use the document write method to write something on another frame.
I tried parent.frames[0].document.write("hello")
and
parent.frames(0).document.write("hello")
but it did not work

Khalid Ali
07-28-2003, 08:24 AM
This should have worked...whats the error you get?

And one more thing..try not to use document.write,instead create a div element in the frame and target that to write stuff.. in it

donbes
07-28-2003, 08:34 AM
The frame is the "banner" frame in a frames.html page of a C#.net project. Therefore the banner frame is not a seperate html page where one can write coee