diff options
author | John Resig <jeresig@gmail.com> | 2006-08-31 06:30:44 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2006-08-31 06:30:44 +0000 |
commit | fb534aea034c9b832b484e6dd26bd2e86f029433 (patch) | |
tree | 0d56fcf2680c0be3bfd3ad2a5a86a69a583e79cf | |
parent | e23c047e786ada99f7f42c1ad1c305eb2394ca7f (diff) | |
download | jquery-fb534aea034c9b832b484e6dd26bd2e86f029433.tar.gz jquery-fb534aea034c9b832b484e6dd26bd2e86f029433.zip |
Added support for the native AJAX object in IE 7.
-rw-r--r-- | src/ajax/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/ajax.js b/src/ajax/ajax.js index e9580aa8a..2864c2092 100644 --- a/src/ajax/ajax.js +++ b/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 ? |