Skip to content

Commit 232bab2

Browse files
committed
replicating jQuery.ajax change by ajpiano from 2012-04-13 15:40:50
1 parent 3333dc9 commit 232bab2

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
@@ -297,7 +297,7 @@ jQuery.ajaxSettings.xhr = function () {
297297
<code><![CDATA[$.ajax({
298298
type: "POST",
299299
url: "some.php",
300-
data: "name=John&location=Boston"
300+
data: { name: "John", location: "Boston" }
301301
}).done(function( msg ) {
302302
alert( "Data Saved: " + msg );
303303
});]]></code>

0 commit comments

Comments
 (0)