Issues with jQuery, ajax, and jsonp
问题 I am using jsonp and ajax to access a web service on another server. Here's the jQuery: $.ajax({ type: 'GET', url: wsurl + 'callback=?', dataType: 'jsonp', crossDomain: true, error: function(data) { console.log('error', data); }, success: function(data) { console.log('success', data); }, complete: function() { console.log('done'); } }); The issue is that the error callback is being called. It gives me this wonderfully helpful information: { readyState: 4, status: 200, statusText: "success" }