Posted By:
Nitesh_Naveen
Posted On:
Tuesday, February 12, 2002 02:34 AM
From one frame to access any other frames you can use the document.frames object. For eg. if you have 3 frames... from frame1 you can access frame 2 by document.frames[1] or document.frames[frameName] and frame 3 by document.frames[2].
You can write to the document of another frame by using
document.frames[frameName].document.write("String to be written");Or you can have a Div tag inside each frame's htms and use
//In Netscape
parent.frames[frameName].document.divId.document.write("String you need to write");
// Or In IE as
parent.frames[frameName].document.all[divId].innerHTML = "String you need to write";