もし(e.currentTarget.id == "homeForm") {
alert("ASD1F2S1df");
e.preventDefault();
flag = false(偽)とする。
プロトコル = window.location.protocol;
let backpage = protocol + "//" + document.location.hostname + "/inquiryok?back=" + document.location.pathname;
if(emailValid & messageValid) {
flag = true;
}
もし(フラグ){
$.post(protocol + "//inquiry.digoodcms.com/api/save/helispring", $(this).serialize(), function(res, status) {
if (res.indexOf('Inquiry Send Success') >= 0) {
window.location.href = backpage;
$("#homeForm")。hide();
$(".submit-success").show();
}
});
}
}
});
function getTimestamp() {
var d = 新しい日付(),
Y = d.getFullYear(),
M = (d.getMonth() + 1) > 9 ?(d.getMonth() + 1) : '0' + (d.getMonth() + 1),
D = d.getDate() > 9 ?d.getDate() : '0' + d.getDate(),
h = d.getHours() > 9 ?d.getHours() : '0' + d.getHours(),
m = d.getMinutes() > 9 ?d.getMinutes() : '0' + d.getMinutes(),
s = d.getSeconds() > 9 ?d.getSeconds() : '0' + d.getSeconds();
var timestamp = '${Y}/${M}/${D} ${h}:${m}:${s}';
var rand = Math.random();
rand = rand.toString().substr(3);
タイムスタンプを返す + '、バージョン=' + ランド;
}
if ($('.message-38b378efe91032cc6d8b64edcb8196a7).length) {
$('.message-38b378efe91032cc6d8b64edcb8196a7').val('from: ' + window.location.href + ', date: ' + getTimestamp());
}
});
連絡先情報が正しいか必ず確認してください。メッセージは直接受信者に送信され、公開されません。お客様の明確な許可なしに個人情報を第三者に配布または販売することは決してありません。