Skip to content
Permalink
Browse files

Added support for the native AJAX object in IE 7.

  • Loading branch information
jeresig committed Aug 31, 2006
1 parent e23c047 commit fb534aea034c9b832b484e6dd26bd2e86f029433
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax/ajax.js
@@ -58,7 +58,7 @@ jQuery.fn.load = function( url, params, callback, ifModified ) {
};

// If IE is used, create a wrapper for the XMLHttpRequest object
if ( jQuery.browser.msie )
if ( jQuery.browser.msie && typeof XMLHttpRequest == "undefined" )
XMLHttpRequest = function(){
return new ActiveXObject(
navigator.userAgent.indexOf("MSIE 5") >= 0 ?

0 comments on commit fb534ae

Please sign in to comment.
You can’t perform that action at this time.