Skip to content

Commit 35a3648

Browse files
committed
1 parent 7841fc0 commit 35a3648

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/ready.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<li><code>$().ready(handler)</code> (this is not recommended)</li>
2222
<li><code>$(handler)</code></li>
2323
</ul>
24-
<p>There is also <code>$(document).bind("ready", handler)</code>. This behaves similarly to the ready method but with one exception: If the ready event has already fired and you try to <code>.bind("ready")</code> the bound handler will not be executed. Ready handlers bound this way are executed <em>after</em> any bound by the other three methods above.</p>
24+
<p>There is also <code>$(document).bind("ready", handler)</code>, <em>deprecated as of jQuery 1.8</em>. This behaves similarly to the ready method but if the ready event has already fired and you try to <code>.bind("ready")</code> the bound handler will not be executed. Ready handlers bound this way are executed <em>after</em> any bound by the other three methods above.</p>
2525
<p>The <code>.ready()</code> method can only be called on a jQuery object matching the current document, so the selector can be omitted.</p>
2626
<p>The <code>.ready()</code> method is typically used with an anonymous function:</p>
2727
<pre>$(document).ready(function() {

0 commit comments

Comments
 (0)