从Ajax到JQuery Ajax学习
Ajax篇 XMLDocument和XMLHttpRequest对象 第一:创建XMLHttpRequest请求对象 代码如下: function getXMLHttpRequest() { var xRequest=null; if(window.XMLHttpRequest) { xRequest=new XMLHttpRequest(); }else if(typeof ActiveXObject != “undefined”){ xRequest=new ActiveXObject(“Microsoft.XMLHTTP”); } return xRequest; } 或者: 代码
下载地址
用户评论