1. Ajax是什么?
Ajax的全称是:Asynchronous JaaScript and XML(异步的JavaScript和XML),是一种无需重新加载整个网页的情况下能够更新部分网页的技术。
2. 如何获取XMLRequest对象?
if(window.XMLHttpRequest){
request = new XMLHttpRequest();
}else{
request new ActiveXObject("Microsoft.XMLHTTP");
}
Ajax的全称是:Asynchronous JaaScript and XML(异步的JavaScript和XML),是一种无需重新加载整个网页的情况下能够更新部分网页的技术。