-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.0.0
-
Fix Version/s: 3.1.0
-
Component/s: cordova-wp7 (DEFUNCT), cordova-wp8 (DEPRECATED)
-
Labels:None
-
Environment:
Windows 8 Professional
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"); } });