mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Add method property to ajaxSettings
This commit is contained in:
1 parent
286c198898
commit
dca2d4df79
2 files changed
+9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user