Skip to content

Commit 4664f1b

Browse files
committed
Note required callback arg in jQuery.post, close jquerygh-124.
1 parent 030a3a3 commit 4664f1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/jQuery.post.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<desc>A plain object or string that is sent to the server with the request.</desc>
1313
</argument>
1414
<argument name="success(data, textStatus, jqXHR)" optional="true" type="Function">
15-
<desc>A callback function that is executed if the request succeeds.</desc>
15+
<desc>A callback function that is executed if the request succeeds. Required if <code>dataType</code> is provided, but can be <code>null</code> in that case.</desc>
1616
</argument>
1717
<argument name="dataType" optional="true" type="String">
1818
<desc>The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).</desc>

0 commit comments

Comments
 (0)