|
@@ -96,17 +96,17 @@ 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) {
|
|
|
alert("送出失敗");
|
|
|
|
|
@@ -115,7 +115,7 @@ function onClik() {
|
|
|
|
|
|
}
|
|
|
|
|
|
-JSON.parse('[]');
|
|
|
+
|
|
|
|
|
|
$("*").each(function (index, element) {
|
|
|
// 此元素被點選後執行
|