You are here: irt.org | FAQ | DHTML | Q617 [ previous next ]
Try:
<head> <script language="JavaScript"><!-- function test() { document.layers['First'].document.layers['Second'].document.open(); document.layers['First'].document.layers['Second'].document.write('xxxx'); document.layers['First'].document.layers['Second'].document.close(); } //--></script> </head> <body onLoad="test()"> <layer id="First"> <layer id="Second"> yyyy </layer> <layer> </body>