Bug Tracker

Opened 10 years ago

Closed 10 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:


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 (1)

comment:1 Changed 10 years ago by john

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in SVN rev 246.

Note: See TracTickets for help on using tickets.