learn.jquery.com icon indicating copy to clipboard operation
learn.jquery.com copied to clipboard

Expand the Ajax Convenience Methods to talk about jqXHR and chainable error handling

Open RedWolves opened this issue 11 years ago • 0 comments

Separating out the second issue from issue #555 so a partial fix can be applied.

The first phrase in the Convenience Methods-section, however, says this:

If you don't need the extensive configurability of $.ajax(), and you don't care about handling errors... Handling the errors point is kinda misleading, as of jQuery 1.5. all jQuery Ajax-methods return a jqXHR-object, which is chainable with .error(), .done() and .always() (or as of 1.8 with .fail(), .done() and .always()), which makes using the convenience methods while handling error situations possible.

RedWolves avatar Oct 24 '14 06:10 RedWolves