Added * You can have as many $(document).ready events on your page as you like.

This commit is contained in:
Jörn Zaefferer 2006-10-03 14:58:57 +00:00
parent eee853f120
commit 004f3dd517
2 changed files with 3 additions and 0 deletions

View File

@ -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

View 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