From: Raymond I. <xw...@ya...> - 2001-12-07 14:29:19
|
Instead of this.document.getAll()['step1TitleDiv']} use DynAPI.document.getAll()['step1TitleDiv']} --- Quang Nguyen <ye...@ho...> wrote: > 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 > > > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com |