You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with JSONP is that the server responds 404 means that it will not retrieve any javascript so the response body is empty in the browser, even if the server returns the error in JSON.
http://jsfiddle.net/chufol/SrQqP/
http://stackoverflow.com/questions/19035557/jsonp-request-error-handling
https://forum.jquery.com/topic/jquery-ajax-with-datatype-jsonp-will-not-use-error-callback-if-request-fails
http://stackoverflow.com/questions/4281274/jquery-ajax-404-handling
http://stackoverflow.com/questions/5388934/jquery-handle-errors-in-getjson
http://stackoverflow.com/questions/19164273/jquery-getjson-error-handling
http://stackoverflow.com/questions/1740218/error-handling-in-getjson-calls
http://api.jquery.com/jquery.getjson/ (see last example, fail is not triggered...)
The text was updated successfully, but these errors were encountered: