联系我们 - AMK

联系信息

有问题吗?致电我们

+86 13356450790

访问我们公司

No.11,Yiheng Road,Tutang industrial,Changping town,Dongguan City,Guangdong Province,China

发送邮件

zk@dgamktape.com

iamzhaka@gmail.com

工作时间

周一至周六:09:00至18:00

联系我们

if (e.currentTarget.id == "homeForm") { // alert("asd1f2s1df"); e.preventDefault(); let flag = false; let protocol = window.location.protocol; let backpage = protocol + "//" + document.location.hostname + "/inquiryok?back=" + document.location.pathname; if (emailValid && messageValid) { flag = true; } if (flag) { $.post(protocol + "//inquiry.digoodcms.com/api/save/amktape", $(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 = new Date(), 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); return timestamp + ', version=' + rand; } if ($('.message-c1c2378f1303d7af279722182efd74e8').length) { $('.message-c1c2378f1303d7af279722182efd74e8').val('from: ' + window.location.href + ', date: ' + getTimestamp()); } });
top