Basically the function allows you to have as many onload functions as you want. I use it quite a bit in AJAX sites. Loading toolbars and data boxes on the page loading. Works a treat. :)
Fotiman
1:50 pm on Jul 26, 2008 (gmt 0)
That's fine, but I don't think that's what Anusiddhi is looking for. Anusiddhi was asking about an onload event associated with a script tag, which I took to mean "execute this event handler when the script finishes loading" (not when the page finishes loading).