1
Answer

Getting ajax readystate 0 status 0 stuts :error

naveen kumar

naveen kumar

6y
1.3k
1
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)