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

______________________________________________________________________

Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com 




_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to