git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0eda68
)
Fixed doc for $.ajax data option
author
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Sat, 11 Nov 2006 12:11:37 +0000
(12:11 +0000)
committer
Jörn Zaefferer
<joern.zaefferer@gmail.com>
Sat, 11 Nov 2006 12:11:37 +0000
(12:11 +0000)
src/ajax/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax/ajax.js
b/src/ajax/ajax.js
index
eee3f06
..
4d6dc6f
100644
(file)
--- a/
src/ajax/ajax.js
+++ b/
src/ajax/ajax.js
@@
-597,7
+597,8
@@
jQuery.extend({
*
* (String) url - The URL of the page to request.
*
- * (String) data - A string of data to be sent to the server (POST only).
+ * (String) data - Data to be sent to the server. If converted to a query
+ * string, if not already a string. Is appended to the url for GET-requests.
*
* (String) dataType - The type of data that you're expecting back from
* the server (e.g. "xml", "html", "script", or "json").