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) } }); |
Loading
Osmosys OsmosysPosted Apr 5, 2014, 2:06 AM
Jignesh TrivediPosted Apr 4, 2014, 3:58 AM
hi,
I think, there is problem with datatype is must be jsonp
dataType: "jsonp",
Please refer
https://learn.jquery.com/ajax/working-with-jsonp/
hope this will help you.