mirror of
https://github.com/jquery/jquery.git
synced 2026-01-25 15:38:23 -05:00
Added support for the native AJAX object in IE 7.
This commit is contained in:
@@ -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 ?
|
||||
|
||||
Reference in New Issue
Block a user