1. 首页
  2. 编程语言
  3. 硬件开发
  4. 从Ajax到JQuery Ajax学习

从Ajax到JQuery Ajax学习

上传者: 2020-12-13 08:12:44上传 PDF文件 91.21KB 热度 27次
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; } 或者: 代码
下载地址
用户评论