var request = new XMLHttpRequest();
兼容IE6方法
var request;
if(window.XMLHttpRequest){
request = new XMLHttpRequest();//IE7+ 及其他现代浏览器
}else{
request = new ActiveXObject("Microsoft.XMLHTTP"); //ie6,ie5
}
兼容IE6方法
var request;
if(window.XMLHttpRequest){
request = new XMLHttpRequest();//IE7+ 及其他现代浏览器
}else{
request = new ActiveXObject("Microsoft.XMLHTTP"); //ie6,ie5
}
2016-06-03
if(data.success){
document.getElementById("searchResule").innerHTML= data.msg
}
判断哪个是默认为true是吗
document.getElementById("searchResule").innerHTML= data.msg
}
判断哪个是默认为true是吗
2016-06-02