jeter20131220 3 years ago
parent
commit
37b9cd6ae5
2 changed files with 4 additions and 1 deletions
  1. 2 1
      desktop11/goto.js
  2. 2 0
      mobile/script/goto.js

+ 2 - 1
desktop11/goto.js

@@ -119,7 +119,8 @@ $(".contact-form1").submit(function (e) {
     url: 'https://go.hhh.com.tw:8002/deco_request_detail',
     data: jsonString,
     dataType: 'json',
-
+    async: false,
+    
     success: function (data) {
       console.log('送出成功: ' + data);
       if (data == 0) {

+ 2 - 0
mobile/script/goto.js

@@ -61,6 +61,7 @@ $(".contact-form1").submit(function (e) {
     url: 'https://go.hhh.com.tw:8002/deco_request_detail',
     data: jsonString,
     dataType: 'json',
+    async: false,
     success: function (data) {
       console.log('送出成功: ' + data);
       if (data == 0) {
@@ -94,6 +95,7 @@ $(".contact-form1").submit(function (e) {
       data: jsonString,
       dataType: 'json',
       contentType: 'application/json; charset=utf-8',
+      
 
       success: function (res) {
         alert('送出成功');