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 fb534ae
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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.