mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add method property to ajaxSettings
This commit is contained in:
@@ -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