瀏覽器的簡單兼容

function getXHER() { var xhr = null; if(XMLHttpRequest){ xhr = new XMLHttpRequest(); }else{ xhr = new ActiveXObject('Microsoft.XMLHTTP'); } return xhr;code

}
相關文章
相關標籤/搜索