Skip to content
Permalink
Browse files
Added * You can have as many $(document).ready events on your page as…
… you like.
  • Loading branch information
jzaefferer committed Oct 3, 2006
1 parent eee853f commit 004f3dd51799fa0a32379c8168c71c8b4690774f
Showing 2 changed files with 3 additions and 0 deletions.
@@ -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
@@ -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

0 comments on commit 004f3dd

Please sign in to comment.