|
@@ -96,18 +96,18 @@ function onClik() {
|
|
|
url:'http://172.105.205.52:8001/deco_request_detail',
|
|
|
data: jsonString,
|
|
|
dataType: 'json',
|
|
|
-
|
|
|
+ success: function (data, textStatus, jqXHR) {
|
|
|
+
|
|
|
+ alert("送出成功");
|
|
|
+ },
|
|
|
beforeSend: function () {
|
|
|
alert("beforeSend");
|
|
|
},
|
|
|
complete: function () {
|
|
|
alert("complete");
|
|
|
},
|
|
|
- success: function (data, textStatus, jqXHR) {
|
|
|
|
|
|
- alert("送出成功");
|
|
|
- },
|
|
|
- error: function (jqXHR, textStatus, errorThrown) {
|
|
|
+ error: function (XMLHttpRequest, textStatus, errorThrown) {
|
|
|
alert("送出失敗");
|
|
|
|
|
|
}
|