摘要: var xhr; //第一步:创建异步请求的核心的对象: if (XMLHttpRequest) { xhr = new XMLHttpRequest(); //运行:is8,ie9,chrom,ff } else {//ie6 ie5.x xhr = new ActiveXObject("Microsoft.HTTP"); } //第二步:设置请求对象跟后台哪个页面进行交互 //HTTP请求的方法名 请求的页面 是否是异步 //Get请求通过QueryString传递参数 // xhr.open("Get", "ProcessAjax.ash 阅读全文
posted @ 2012-08-20 23:16 plugin-loader 阅读(112) 评论(0) 推荐(0) 编辑