Add method property to ajaxSettings

This commit is contained in:
John Kurlak committed 2015-07-10 09:48:49 -07:00
1 parent 286c198898
commit dca2d4df79
2 files changed
+9

No files matched your search

+5
View File
@@ -119,6 +119,11 @@ function test_ajax() {
}).done(function (msg) {
alert("Data Saved: " + msg);
});
$.ajax({
method: "POST",
url: "some.php",
data: { name: "John", location: "Boston" }
});
$.ajax({
url: "test.html",
cache: false