> Is there a way to override the XMLHTTPRequest object used in jQuery’s
> AJAX API?
> I would like to use a custom implementation of XMLHTTPRequest.

Practically speaking, no, this is not currently supported.  For non-IE
browsers you could redefine the XMLHttpRequest function to your own
implementation before loading jQuery:

var _origXHR = window.XMLHttpRequest;
window.XMLHttpRequest = myImplementation;

But jQuery always uses ActiveX for the IE case so you'd have a mixed
implementation.  You'd have to re-implement the entire $.ajax function
to cover both cases.

Mike

Reply via email to