//获取ajax对象
function getAJAX() {
var ajax = null;
if(window.XMLHttpRequest){
ajax = new XMLHttpRequest();
} else {
ajax = new ActiveXObject('Microsoft.XMLHttp');
}
return ajax;
}
//获取ajax对象
function getAJAX() {
var ajax = null;
if(window.XMLHttpRequest){
ajax = new XMLHttpRequest();
} else {
ajax = new ActiveXObject('Microsoft.XMLHttp');
}
return ajax;
}