> 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.

I couldn't find a wiki page that succinctly covers this so I'll make a
note to add one.

Mike

Reply via email to