On Thursday 12 February 2009, Mike Alsup wrote:
> > Textual status is fine.
> > Where is documentation on status strings?
> > Thanks
> > Tim
>
> When the 'success' handler is invoked the textual status is always
> "success" (unless you're using the ifModified option).
>
> When the 'error' handler is invoked the textual status may be "error",
> "parsererror", or "timeout".
>
> When the 'complete' handler is invoked the textual status may be any
> of those mentioned above.
>
> Both the 'complete' and 'error' callbacks are passed the XHR as the
> first arg. With that object you can determine the HTTP status via its
> 'status' property.
Understood. Thanks.
> I couldn't find a wiki page that succinctly covers this so I'll make a
> note to add one.
Good idea.
regards
tim