Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added support for the native AJAX object in IE 7.

  • Loading branch information...
commit fb534aea034c9b832b484e6dd26bd2e86f029433 1 parent e23c047
@jeresig jeresig authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/ajax/ajax.js
View
2  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 ?
Please sign in to comment.
Something went wrong with that request. Please try again.