[jQuery] Re: Status Codes = docs

2009-02-12 Thread Mike Alsup
I would be grateful if someone could point me to documentation on status codes. Example: $post() expects a callback function whose second argument would be status. What statuses should I expect and what datatype for statuses should I expect. Links to docs would be more than adequate.

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Tim Johnson
On Wednesday 11 February 2009, Nic Luciano wrote: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Something like this? I might be misunderstanding your question, but I don't think statuses and datatypes are related if that's what you mean. Status codes (linked) are the status of the

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Mike Alsup
 Sorry.  To clarify, I wanted ed to know if numerical statuses via the w3 protocol  or text strings were being returned. I just did my first successful ajax  call using jquery and the status returned in the callback was success, not 200.  I hope the question is clearer now.  thanks  tim

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Mike Alsup
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.

[jQuery] Re: Status Codes = docs

2009-02-12 Thread Tim Johnson
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

[jQuery] Re: Status Codes = docs

2009-02-11 Thread Nic Luciano
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Something like this? I might be misunderstanding your question, but I don't think statuses and datatypes are related if that's what you mean. Status codes (linked) are the status of the call.. (ie. a return status of 200 means everything