Fixed doc for $.ajax data option
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 11 Nov 2006 12:11:37 +0000 (12:11 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Sat, 11 Nov 2006 12:11:37 +0000 (12:11 +0000)
src/ajax/ajax.js

index eee3f06..4d6dc6f 100644 (file)
@@ -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").