AJAX--总结

XMLHttpRequest对象是AJAX的基础。开始就要创建对象。 var xmlhttp; if(window.XMLHttpRequest) {     xmlhttp=new XMLHttpRequest(); } else{     xmlhttp=new ActiveXObject("Microsoft.XMLHTTP") //IE5,IE6 }. 向服务器发送请求,需要用到open(
相关文章
相关标签/搜索