首页 相关文章 Jquery在IE7下无法使用 $.ajax解决方法

Jquery在IE7下无法使用 $.ajax解决方法

通过查看源码发现
代码如下:
// Create the request object; Microsoft failed to properly
// implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
// This function can be overriden by calling jQuery.ajaxSetup
xhr:function(){
return window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();
},

以下是这个jquery的源码的版本声明
代码如下:
/*
* jQuery JavaScript Library v1.3.2
* http://jquery.com/
*
* Copyright (c) 2009 John Resig
* Dual licens...[ 查看全文 ]

2016-02-19 标签:

Jquery在IE7下无法使用 $.ajax解决方法的相关文章

手机页面
收藏网站 回到头部