Added * You can have as many $(document).ready events on your page as you like.
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 3 Oct 2006 14:58:57 +0000 (14:58 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 3 Oct 2006 14:58:57 +0000 (14:58 +0000)
src/event/event.js
src/jquery/jquery.js

index 3d38b41..47be53c 100644 (file)
@@ -107,6 +107,8 @@ jQuery.fn.extend({
         * Please ensure you have no code in your &lt;body&gt; onload event handler, \r
         * otherwise $(document).ready() may not fire.\r
         *\r
+        * You can have as many $(document).ready events on your page as you like.\r
+        *\r
         * @example $(document).ready(function(){ Your code here... });\r
         *\r
         * @name ready\r
index deb214b..d50274f 100644 (file)
@@ -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