Opened 16 years ago
Closed 16 years ago
#158 closed enhancement (fixed)
Native XMLHttp in IE
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ajax | Version: | |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If IE is used, create a wrapper for the XMLHttpRequest object if ( !XMLHttpRequest && ActiveXObject )
XMLHttpRequest = function(){
return new ActiveXObject(
navigator.userAgent.indexOf("MSIE 5") >= 0 ? "Microsoft.XMLHTTP" : "Msxml2.XMLHTTP"
);
};
I assume that you didn't try that code, because it freaks out in IE (if memory serves me correctly - maybe it was Opera). I'll probably change it to this:
if ( jQuery.browser.msie && XMLHttpRequest == undefined )
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev 246.