var xmlHttp;
function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXobject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
}
阮一峰的IT笔记:首页 -> 分类 -> Javascript 查看所有文章:按分类 | 按月份
var xmlHttp;
function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXobject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
}
« 透明效果的实现 | 首页 | XMLHttpRequest对象的方法 »
This page contains a single entry from the blog posted on 2007年05月05日 15:30.
The previous post in this blog was 透明效果的实现.
The next post in this blog is XMLHttpRequest对象的方法.
Many more can be found on the main index page or by looking through the archives.