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 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:55 GMT