摘要: 1.ajax asynchronous javascript and xml (异步的javascript和xml)2.请求代码的流程 var xmlHttp = new XMLHttpRequest(); if(xmlHttp!=null){ xmlHttp.onreadystatechanage = function(){ if(xmlHttp.readyState == 4 && xmlHttp.status == 200) //4请求成功 200成功返回数据 var resultObj = eval("("+xmlHttp.responseText+ 阅读全文
posted @ 2013-07-10 00:10 笨兔儿 阅读(115) 评论(0) 推荐(0) 编辑