2
Answers

Cross Domain Issue , alway going to error, but i got respon

Osmosys Osmosys

Osmosys Osmosys

10y
1.1k
1
 I used Json P,  in browser  while debugging  under Networks  i can see the respone but my my success  function in not catchinh it.
 
$.ajax({
type: "GET",
url: url,
contentType: "application/json; charset=utf-8",
crossDomain: true,
dataType: "json",
success: function (msg) {
alert(Response.ErrorMessage )
},
error: function (e, status) {
alert(e + " Fail " + status)
}
});
Answers (2)