onload handler order of firing
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

onload handler order of firing

From: Adam Ratcliffe <adam.ratcliffe@gmail.com>
Date: Mon Jan 23 2006 - 06:26:42 CET

I have 2 onload handlers on a web page. One is set programatically in
an included script and the other declared on the document's body
element.

In practice the programatically set onload handler always fires first
in Firefox (the desired behaviour).

Do I have any guarantee that this ordering will be the same across
other browsers?

Cheers
Adam
Received on Tue Feb 7 21:18:49 2006