Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 16 of 16
  1. #16
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Fumigator View Post
    No it's not. jQuery's document.ready detects when the DOM has loaded and fires off at that point. This means it doesn't wait for things like images to load. The onload function doesn't begin until everything on the page is loaded.

    document.ready has other benefits as well over onload, such as it's easy to call many functions.

    http://docs.jquery.com/How_jQuery_Wo...Document_Ready
    yes now I know, I already read the code for bindReady function from jquery sources,

    Edit: just in case, bindReady is called from ready, I didn't mess names,

    best regards
    Last edited by oesxyl; 01-13-2010 at 10:56 PM.


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •