Commit 004f3dd5 authored by Jörn Zaefferer's avatar Jörn Zaefferer

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

parent eee853f1
...@@ -107,6 +107,8 @@ jQuery.fn.extend({ ...@@ -107,6 +107,8 @@ jQuery.fn.extend({
* Please ensure you have no code in your <body> onload event handler, * Please ensure you have no code in your <body> onload event handler,
* otherwise $(document).ready() may not fire. * 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... }); * @example $(document).ready(function(){ Your code here... });
* *
* @name ready * @name ready
......
...@@ -154,6 +154,7 @@ if ( typeof $ != "undefined" ) ...@@ -154,6 +154,7 @@ if ( typeof $ != "undefined" )
* behaves just like $(document).ready(), in that it should be used to wrap * 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, * all of the other $() operations on your page. While this function is,
* technically, chainable - there really isn't much use for chaining against it. * 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(){ * @example $(function(){
* // Document is ready * // Document is ready
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment