[thelist] Coding Javascript to Standards
VOLKAN ÖZÇELİK
volkan.ozcelik at gmail.com
Thu Feb 9 09:48:16 CST 2006
Since the script is in the context of the window.
onload=function(){
};
and
window.onload=function(){
};
should work similarly.
window.onload will be a very very very tiny bit faster (almost
negligible) because the interpreter will have a smaller scope when
used window.onload explicitly.
Other than that, imo, it should not matter that much and the issue
seems rather like a bug of firebug.
However I always prefer window.onload.
Cheers,
--
Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/volkanozcelik/blog/
+> My projects/studies/trials/errors : http://www.sarmal.com/
More information about the thelist
mailing list