parsererror after jQuery.ajax request with jsonp content type

JSONP requires that the response be wrapped in some kind of callback function, because it works by injecting a script tag into the document as a mechanism to load data from another domain. Essentially, what happens is a script tag gets dynamically inserted into the document like so: <script src=”http://the.other.server.com/foo?callback=someFn”></script> callback is dependent on the … Read more