From 004f3dd51799fa0a32379c8168c71c8b4690774f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 3 Oct 2006 14:58:57 +0000 Subject: [PATCH] Added * You can have as many $(document).ready events on your page as you like. --- src/event/event.js | 2 ++ src/jquery/jquery.js | 1 + 2 files changed, 3 insertions(+) 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 -- 1.7.10.4