Osmosys Osmosys

Osmosys Osmosys

  • NA
  • 13
  • 12.9k

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

Apr 4 2014 1:24 AM
 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)