坦帕湾|10大信誉娱乐平台州圣彼得堡

10大信誉娱乐平台州奥兰多市

10大信誉娱乐平台金融顾问公司 华盛顿东街622号320号
奥兰多,10大信誉娱乐平台州32801
杰克逊维尔,10大信誉娱乐平台州

10大信誉娱乐平台金融顾问公司 劳拉街802号100号
杰克逊维尔,10大信誉娱乐平台州32202
迈阿密,10大信誉娱乐平台

10大信誉娱乐平台金融顾问公司 庞塞·德莱昂901号600套房,
珊瑚山墙,FL 33134
费城三州区

三州金融顾问公司 宽街100号,1801室
费城,宾夕法尼亚州19110
亚特兰大,乔治亚州

Georgia Financial Advisors 桃树路3400号,700套房
亚特兰大,佐治亚州30326
夏洛特,北卡罗来纳州

三州金融顾问公司 绍森德街2125号,350室
夏洛特,北卡罗莱纳州28203

< >脚本
$(文档).Ready (function () {
$.validator.addMethod("customrule", function (value, element, param) {
return this.optional(element) || value === param;
}, "You must answer the question correctly");
$('#free-consultation-form').each(function () {
var quotesForm = $(this);
// validate signup form on keyup and submit
$(quotesForm).validate({
rules: {
input_math: {
required: true,
customrule: '24'
},
email: {
required: true,
email: true
}
},
messages: {
email: "Please enter a valid email address",
},
submitHandler: function (form) {
if (quotesForm.find("#spamfilter").val() != "") {
// honeypot was populated. don't submit
return false;
} else {
//Ajax Submission
var url = "form_proc.cfm";
var formData = quotesForm.serializeArray();
var indexed_array = {};
$.map(formData, function (n, i) {
indexed_array[n['name']] = n['value'];
});
var blkstr = [];
$.each(indexed_array, function (idx2, val2) {
var str = idx2 + "=" + val2;
blkstr.push(str);
});
var str = blkstr.join("&");
// console.log(indexed_array);
let text = str.toString();
// Encode the String
var encodedString = btoa(text);
$.post(url, formData).done(function (data) {
// console.log(JSON.stringify(formData));
// console.log(indexed_array);
// console.log(data);
quotesForm.find("input[type=text], input[type=email], textarea").val("");
quotesForm.find('input[type=checkbox]').prop('checked', false);
if (quotesForm.attr('id') == 'download-form') {
window.location = 'thank-you-advisory-fees-and-investments-whitepaper.27.htm';
return false;
}
else if (quotesForm.attr('id') == 'intent-pop-up') {
window.location = 'thank-you-advisory-fees-and-investments-whitepaper.27.htm';
return false;
}
else {
window.location = 'thank-you-contact.23.htm';
//alert("谢谢你!! We will be in touch.");
return false;
}
});
return false;
}
}
});
})
});