andrew1234
09-05-2003, 08:13 AM
my frames page is like this
<html>
<frameset rows="*,80" frameborder="NO" border="0" framespacing="0">
<frame src="1 .htm" name="top" id="top">
<frame src="2.htm" name="bot" scrolling="NO" noresize id="bot">
</frameset>
</html>
---------------------------------------------------
--------------------------------------------
the htm page that loads into "top" frame is
<html>
<
<body ONLOAD = "top.bot.document.getElementById('fred').firstChild.data = 'Hello, World!'">
</body>
</html>
--------------------------------------------
the htm page that loads into "bot" frame is
<html>
<body>
<div id="fred">dd</div>
</body>
</html>
--------------------------------------------------------
when the to frame load is tells the botton html pages id tag fred to say hello world
but it won't work
it say underfined error
any ideas woul be a gret help
thanks
Andrew
<html>
<frameset rows="*,80" frameborder="NO" border="0" framespacing="0">
<frame src="1 .htm" name="top" id="top">
<frame src="2.htm" name="bot" scrolling="NO" noresize id="bot">
</frameset>
</html>
---------------------------------------------------
--------------------------------------------
the htm page that loads into "top" frame is
<html>
<
<body ONLOAD = "top.bot.document.getElementById('fred').firstChild.data = 'Hello, World!'">
</body>
</html>
--------------------------------------------
the htm page that loads into "bot" frame is
<html>
<body>
<div id="fred">dd</div>
</body>
</html>
--------------------------------------------------------
when the to frame load is tells the botton html pages id tag fred to say hello world
but it won't work
it say underfined error
any ideas woul be a gret help
thanks
Andrew