Add method property to ajaxSettings

This commit is contained in:
John Kurlak
2015-07-10 09:48:49 -07:00
parent 286c198898
commit dca2d4df79
2 changed files with 9 additions and 0 deletions
+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