From: Jörn Zaefferer Date: Tue, 3 Oct 2006 14:58:57 +0000 (+0000) Subject: Added * You can have as many $(document).ready events on your page as you like. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=004f3dd51799fa0a32379c8168c71c8b4690774f;p=jquery.git Added * You can have as many $(document).ready events on your page as you like. --- diff --git a/src/event/event.js b/src/event/event.js index 3d38b41..47be53c 100644 --- a/src/event/event.js +++ b/src/event/event.js @@ -107,6 +107,8 @@ jQuery.fn.extend({ * Please ensure you have no code in your <body> onload event handler, * otherwise $(document).ready() may not fire. * + * You can have as many $(document).ready events on your page as you like. + * * @example $(document).ready(function(){ Your code here... }); * * @name ready diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index deb214b..d50274f 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -154,6 +154,7 @@ if ( typeof $ != "undefined" ) * behaves just like $(document).ready(), in that it should be used to wrap * all of the other $() operations on your page. While this function is, * technically, chainable - there really isn't much use for chaining against it. + * You can have as many $(document).ready events on your page as you like. * * @example $(function(){ * // Document is ready