jeter20131220 3 lat temu
rodzic
commit
c08b768ae3
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      desktop11/goto.js

+ 2 - 1
desktop11/goto.js

@@ -172,6 +172,7 @@ $(".contact-form1").submit(function (e) {
     dataType: 'json',
     success: function (data) {
       console.log('送出成功: ' + data);
+      alert("送出成功");
       if (data == 0) {
         alert("送出成功");
       } else if (data == 1) {
@@ -181,7 +182,7 @@ $(".contact-form1").submit(function (e) {
       } else if (data == 3) {
         alert("此email、phone已填過表單");
       }
-      alert("送出成功");
+      
     },
     beforeSend: function () {
       console.log('beforeSend');