Skip to content

Commit 3aeb4c2

Browse files
Ian MacIntosharthurvr
Ian MacIntosh
authored andcommitted
jQuery.ajax: Add request status 'nocontent'
Closes jquerygh-596
1 parent fe4e1b8 commit 3aeb4c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.ajax.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<property name="complete" type="Function">
3333
<argument name="jqXHR" type="jqXHR"/>
3434
<argument name="textStatus" type="String"/>
35-
<desc>A function to be called when the request finishes (after <code>success</code> and <code>error</code> callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request (<code>"success"</code>, <code>"notmodified"</code>, <code>"error"</code>, <code>"timeout"</code>, <code>"abort"</code>, or <code>"parsererror"</code>). <strong>As of jQuery 1.5</strong>, the <code>complete</code> setting can accept an array of functions. Each function will be called in turn. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
35+
<desc>A function to be called when the request finishes (after <code>success</code> and <code>error</code> callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request (<code>"success"</code>, <code>"notmodified"</code>, <code>"nocontent"</code>, <code>"error"</code>, <code>"timeout"</code>, <code>"abort"</code>, or <code>"parsererror"</code>). <strong>As of jQuery 1.5</strong>, the <code>complete</code> setting can accept an array of functions. Each function will be called in turn. This is an <a href="/Ajax_Events/">Ajax Event</a>.</desc>
3636
</property>
3737
<property name="contents" type="PlainObject" added="1.5">
3838
<desc>An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type.</desc>

0 commit comments

Comments
 (0)