Hi Mudassar,
Please find the code wich am using, when am click on the submit button, am getting the refused to execute script error. am not getting any line errors
please help me to do this.
$.ajax({
url: 'https://s2020293361.t.eloqua.com/e/f2?elqFormName=htmlnameofform&elqSiteID=2020293361&emailAddress=john.smith@tegrita.com&firstName=John&lastName=Smith&company=Tegrita&busPhone=12345667890&city=Toronto',
type: 'post',
dataType: "jsonp",
data: formdata.serialize(),
contentType: "application/javascript; charset=utf-8",
success: function (msg) {
console.log("success");
},
error: function (request, status, error) {
console.log(error);
}
});