Bug Tracker

Opened 15 years ago

Closed 15 years ago

#3663 closed bug (invalid)

Document error status strings for $.ajax:error

Reported by: dalangalma Owned by:
Priority: major Milestone: 1.3
Component: docs Version: 1.2.6
Keywords: Cc: dalangalma
Blocked by: Blocking:


Looking through the source, I see that the "textStatus" parameter of $.ajax's error callback can take the following values:

  • timeout - when your specified timeout is exceeded
  • error - http error, like 404
  • notmodified - when requested resource was not modified since last request
  • parsererror - when an xml/json response is bad

I would like it if this was in the documentation for $.ajax and $.ajaxError - I didn't realize those statuses were being provided by jQuery, and I don't think I could have found out about them without reading the source.

Change History (1)

comment:1 Changed 15 years ago by flesler

Cc: dalangalma added
Resolution: invalid
Status: newclosed

Ok, thanks for reporting, can you post the problem to jQuery's google group?

Note: See TracTickets for help on using tickets.