Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
3.0.0
-
None
-
Windows 8 Professional
Description
I have an Ajax request to a server, but the success callback or any callback is not executed even if the server respond with a 200 code (I saw the logs using Wireshark).
$.ajax({ url: 'http://example.com', data: { foo: 'bar' }, dataType: 'json', success: function (data) { console.log(data); }, error: function(){ console.log("Error"); }, complete: function(){ console.log("Complete"); } });