In the old-fashioned you couldn't have more than one event handler:

window.onload = function(){ .. }

but using jQuery's bind('load', function(){}) you're using the new
standards-based event system, via addEventListener (attachEvent on
IE), in which 'onload' is not a property of the window object, instead
you assign "listeners" that fire with the event. You can have as many
of them as you like.

cheers,
- ricardo

On Jan 14, 10:18 am, Krommenaas <krommen...@gmail.com> wrote:
> strange, but I should have checked. thanks!

Reply via email to