Skip to content

Commit cd4b574

Browse files
committed
Clarify that async: false can still be used, but not with Deferred.
1 parent 30da804 commit cd4b574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/jQuery.ajax.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<desc>The content type sent in the request header that tells the server what kind of response it will accept in return. If the <code>accepts</code> setting needs modification, it is recommended to do so once in the <code>$.ajaxSetup()</code> method.</desc>
2020
</option>
2121
<option default="true" name="async" type="Boolean">
22-
<desc>By default, all requests are sent asynchronously (i.e. this is set to <code>true</code> by default). If you need synchronous requests, set this option to <code>false</code>. Cross-domain requests and <code>dataType: "jsonp"</code> requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. <strong>As of jQuery 1.8, the use of <code> async: false </code> is deprecated.</strong></desc>
22+
<desc>By default, all requests are sent asynchronously (i.e. this is set to <code>true</code> by default). If you need synchronous requests, set this option to <code>false</code>. Cross-domain requests and <code>dataType: "jsonp"</code> requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. <strong>As of jQuery 1.8, the use of <code> async: false </code> with jqXHR ($.Deferred) is deprecated; you must use the complete/success/error callbacks.</strong></desc>
2323
</option>
2424
<option name="beforeSend" type="Function">
2525
<argument name="jqXHR" type="jqXHR"/>

0 commit comments

Comments
 (0)