Is there any reason why the status callback parameter called
Why would it be a number?
jQuery returns the following values in the
These are all custom messages in jQuery to tell what you wen't wrong, or if the request succeeded.
Any errors the server sends, such as a
404 Not Found or
403 Forbidden are generally considered successful requests by jQuery.
The custom error codes above are thrown by jQuery when for instance a request times out after a specific time has been reached, or if the content couldn't be parsed by jQuery etc.
These strings aren't part of the original
XMLHttpRequest, but are added by jQuery as a convenience.