Native XMLHttpRequest Support in IE 7.0 is NOT Ready

由 joelhy 于 周五, 07/13/2007 - 11:05 提交。
From jQuery 1.1.3.1 code Line4427-4429:
  1. // Create the request object; Microsoft failed to properly
  2. // implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available
  3. var xml = window.ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest();

jQuery tells us "new XMLHttpRequest()" has some problems in IE7, so think ActiveXObject first, native XMLHttpRequest second.

发表新评论

此内容将保密,不会被其他人看见。
  • 网页地址和电子邮件地址将会被自动转换为链接。
  • 允许的 HTML 标签: <img> <p> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <coolcode>
  • You can use coolfilter tags in the text, to include code and media

更多格式化选项信息