Modify ↓
Ticket #158 (closed enhancement: fixed)
Native XMLHttp in IE
| Reported by: | john | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ajax | Version: | |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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 )
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Fixed in SVN rev 246.