Browse Source

Merge branch 'master' of http://git.choozmo.com:3000/choozmo/HHH_Home_Decoration_2

Mike 3 years ago
parent
commit
9d1b1c5268
2 changed files with 7 additions and 4 deletions
  1. 5 2
      desktop11/goto.js
  2. 2 2
      desktop11/index.html

+ 5 - 2
desktop11/goto.js

@@ -108,14 +108,17 @@ function onClik() {
     },
 
     error: function (jqXHR, textStatus, errorThrown) {
+      
+      console.log(JSON.stringify(jqXHR));
+      console.log("AJAX error: " + textStatus + ' : ' + errorThrown);
       alert("送出失敗");
-
+      
     }
   });
   
 }
 
-JSON.parse('[]');
+
 
 $("*").each(function (index, element) {
   // 此元素被點選後執行

+ 2 - 2
desktop11/index.html

@@ -344,7 +344,7 @@
                         </div>
                         <hr>
                         <div id="form-right">
-                            <div id="facebook">
+                            <div id="facebook" onclick='callFB()' >
                                 <img src="./img/logo/facebook.webp" alt="">
                                 使用FB填入信箱與姓名
                             </div>
@@ -362,7 +362,7 @@
 
                     </div>
                     <div class="form-btn">
-                        <input class="btn" style="opacity: 1;" type="submit" onclick="onClik();" value="送出">
+                        <input class="btn" style="opacity: 1;" type="submit" onclick="onClik()" value="送出">
 
                     </div>
                 </form>