|
@@ -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');
|