We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3532693 commit bcc3593Copy full SHA for bcc3593
pages/Ajax_Events.html
@@ -19,9 +19,9 @@ <h3>Local Events</h3>
19
</code></pre>
20
<h3>Global Events</h3>
21
<p>These events are triggered on the <code>document</code>, calling any handlers which may be listening. You can listen for these events like so:</p>
22
-<pre> $(document).bind("ajaxSend", function(){
+<pre> $(document).on("ajaxSend", function(){
23
$("#loading").show();
24
- }).bind("ajaxComplete", function(){
+ }).on("ajaxComplete", function(){
25
$("#loading").hide();
26
});
27
</pre>
0 commit comments