var request;
if(window.XMLHttpRequest){
request=new XMLHttpRequest();//IE7+,Firefox,Chrome,Ooera,Safari...
}else{
request=new ActiveXObject("Microsoft.XMLHTTP");//IE6,IE7
}
if(window.XMLHttpRequest){
request=new XMLHttpRequest();//IE7+,Firefox,Chrome,Ooera,Safari...
}else{
request=new ActiveXObject("Microsoft.XMLHTTP");//IE6,IE7
}
2015-03-04