We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75a3613 commit bad3511Copy full SHA for bad3511
entries/ajaxError.xml
@@ -19,7 +19,7 @@
19
<p>Attach the event handler to the document:</p>
20
<pre><code>
21
$( document ).ajaxError(function() {
22
- $( "div.log" ).text( "Triggered ajaxError handler." );
+ $( ".log" ).text( "Triggered ajaxError handler." );
23
});
24
</code></pre>
25
<p>Now, make an Ajax request using any jQuery method:</p>
entries/ajaxStop.xml
@@ -18,8 +18,8 @@
18
-$( ".log" ).ajaxStop(function() {
- $( this ).text( "Triggered ajaxStop handler." );
+$( document ).ajaxStop(function() {
+ $( ".log" ).text( "Triggered ajaxStop handler." );
0 commit comments