There's this lead form on my website, which is integrated with zoho CRM.
What i do is make an ajax form submit. It works perfectly in all the browsers except Internet Explorer.
Here's the code that I am using :
$.ajax({
type: 'POST',
url: 'https://crm.zoho.com/crm/WebToLeadForm',
crossDomain: true,
data: {
"xnQsjsdp":"ppmcCsqovwVthYo*kRl79w$$",
"xmIwtLD":"VhOb6HhGDim4uPu3Iakv-bchDcGQB5gh",
"actionType":"TGVhZHM=",
"returnURL": "http://www.taxday.co.uk/",
"First Name":$("#contact-name").val(),
"Last Name":$("#contact-subject").val(),
"Phone":$("#contact-home-number").val(),
"Email":$("#contact-email").val(),
"Description" : $("#contact-message").val(),
"LEADCF1":prof,
"Street" : $("#contact-address").val(),
"Zip Code" : $("#contact-postcode").val()
},
dataType: 'json',
success: function(responseData, textStatus, jqXHR) {
alert("Form Submitted");
},
error: function (responseData, textStatus, errorThrown) {
alert("Form Submitted");
}
});
But the deal alert comes in IE but the lead is not captured at zoho end
Any help would be much appreciated.
Thanks