if (e.currentTarget.id == "homeForm") {
alert("ASD1F2S1df");
e.preventDefault();
flag = false라고 하자;
let protocol = window.location.protocol;
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) {
만약 (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());
}
});
연락처 정보가 정확한지 꼭 확인해 주세요. 귀하의 메시지는 수신자에게 직접 전송되며 공개되지 않습니다. 귀하의 명시적 허락 없이 귀하의 개인정보를 제3자에게 배포하거나 판매하지 않습니다.