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 with 3 additions and 0 deletions.
  1. +2 −0 src/event/event.js
  2. +1 −0 src/jquery/jquery.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
@@ -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.
You can’t perform that action at this time.