From: Quang N. <ye...@ho...> - 2001-12-07 01:28:58
|
The following code will not work: <script language="Javascript" src="dhtmllib/dynapi.js"></script> <script language="Javascript"> DynAPI.setLibraryPath('dhtmllib'); DynAPI.include('dynapi.api.*'); DynAPI.include('dynapi.ext.inline.js') </script> <script LANGUAGE="JavaScript"> function start() {step1Title = this.document.getAll()['step1TitleDiv']} DynAPI.onLoad = function() { start(); alert("GOOD") } </script></head><body> <div id='step1TitleDiv'>test</div> </BODY> Does anyone know if it is possible to call this.document.getAll() from anywhere but in DynAPI.onLoad? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |