摘要: function ajax(url, fnSucc, fnFaild){ //1.创建 if(window.XMLHttpRequest) { var oAjax=new XMLHttpRequest(); } else { var oAjax=new ActiveXObject('Microsoft.XMLHTTP'); } //2.连接 oAjax.open('GET', url, true); //3.发送 oAjax.send(); //4.接收 oAjax... 阅读全文
posted @ 2014-03-20 16:31 leejersey 阅读(852) 评论(0) 推荐(0) 编辑