[thelist] JavaScript loading *BEFORE* page load?

misterhaan misterhaan at track7.org
Tue Oct 2 14:30:36 CDT 2007


Jon Hughes wrote:
> window.onload = WindowLoad();
>   
this runs WindowLoad() and then assigns the result to window.onload.  
you probably meant to say this:

window.onload = function() { WindowLoad(); };



More information about the thelist mailing list