摘要: 1 function Ajax() { 2 var xmlHttpReq = new XMLHttpRequest(); 3 xmlHttpReq.open("GET", "test.ashx", true); 4 xmlHttpReq.onreadystatechange = RequestCallBack; 5 xmlHttpReq.send(null); 6 7 function RequestCallBack() { 8 if (xmlHttpReq.readyState == 4) { 9 if (x... 阅读全文
posted @ 2012-12-13 17:09 David Huang 阅读(141) 评论(0) 推荐(0) 编辑