onComplete: handleSuccess - What gets passed?

Alex Duffield
Sat, 05 Aug 2006 02:08:14 -0000

I am curious what gets passed back from an completed Ajax.Request call?

I am using "onComplete: handleSuccess" in my request:

var handleSuccess = function(originalRequest){
		$(''content'').innerHTML = originalRequest.responseText;
}

but is there other data in that "originalRequest" object that might
be useful? perhaps the original parameters, the URL etc.

Is there a quick way to inspect it? ( I tried originalRequest.inspect
() with no luck.. )

Thanks!!