ajax success callback

ajax success callback


Can the ajax success callback also receive the xmlhttprequest object,
just like the error callback? The situation i am in is that i need to
do something different when i receive a 302 (which is considered
success).