Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-13-2010, 10:54 PM   PM User | #16
oesxyl
Master Coder


 
Join Date: Dec 2007
Posts: 6,682
Thanks: 436
Thanked 890 Times in 879 Posts
oesxyl is a jewel in the roughoesxyl is a jewel in the roughoesxyl is a jewel in the rough
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..
oesxyl is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:05 PM.


Advertisement
Log in to turn off these ads.