naveen kumar

naveen kumar

  • NA
  • 47
  • 5.7k

Getting ajax readystate 0 status 0 stuts :error

Apr 17 2018 5:53 AM
hai This is my code 
 
 
var ajaxservice = WebUrl + "getAttachment?userid=" + userid + "&company_id=" + companyid + "&outlook_key=" + OutlookKey;
$.ajax({
type: 'post',
url: ajaxservice,
data: { "Attachment_Name": AttachmentName, "Attachment_content_data": Attachmentcontentdata},
contentType: "application/json",
dataType: 'json',
success: function (responce) {
//processData(responce);
//JSON.parse(results);
console.log(JSON.stringify(responce));
},
error: function (data) {
var dataa = JSON.stringify(data);
console.log(dataa);
}
});
 
Am Getting This Error ajax readystate 0 status 0 stuts :error 
 

Answers (1)