- From: Jonathan Watt <0jaw@qlink.queensu.ca>
- Date: Thu, 21 Feb 2002 16:12:11 -0500
- To: www-dom@w3.org
Can no one tell me which object a handler should be added to when using the addEventHandler method to detect when the current document loads? I would very much appreciate clarification or, failing that, opinions. Jonathan. At 11:25 PM 2/17/2002 -0500, Jonathan Watt wrote: >I intend to submit some bugs for IE and Mozilla, but first I would like >some clarification as to just where a handler for the load event should be set? > >The two logical places seem to be to add it to 'document' or to >'document.documentElement'. A bug in Mozilla suggests that, when they get >it working, it will be added to 'document', yet in IE6 this causes an >error. The other option, 'document.documentElement', doesn't seem to work >for either browser. > >Thanks in advance, > >Jonathan.
Received on Thursday, 21 February 2002 16:08:44 UTC