Ok so the main page has the following code:
<frameset rows="60,*" frameborder="0">
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"controls.htm" name="controls">
<frame src="main.htm" name="main">
</frameset>
and controls.html has something like:
function doStuff()
{
parent.main.document.write("whatever");
}
<body onLoad="doStuff()">
In the previewer of my HTML editor it works fine, but in IE it says parent.main.document is null or not an object, so I checked thau!'s JavaScript tutorial and that's exactly what it says to do, so I dunno.
(Oh yes and I tried top.main, and that didn't work either)
Thanks, Alan.
<frameset rows="60,*" frameborder="0">
<frame src=http://www.webdeveloper.com/forum/archive/index.php/"controls.htm" name="controls">
<frame src="main.htm" name="main">
</frameset>
and controls.html has something like:
function doStuff()
{
parent.main.document.write("whatever");
}
<body onLoad="doStuff()">
In the previewer of my HTML editor it works fine, but in IE it says parent.main.document is null or not an object, so I checked thau!'s JavaScript tutorial and that's exactly what it says to do, so I dunno.
(Oh yes and I tried top.main, and that didn't work either)
Thanks, Alan.