is this also true of document.ready?

On Jan 14, 9:24 pm, Ricardo Tomasi <ricardob...@gmail.com> wrote:
> 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

Reply via email to