> I was reading the jQuery help docs (in the Ajax Events section), and I > came across this statement: > > "you can never have both an error and a success callback with a > request" > > Does anyone know why you can't do this? I can think of a number of > situations where you would need to cater for both events.
That statement should say they will never both be invoked for a single request. You can, and should, declare both a success and error handler.