1 一段很简洁很棒的原生态javascript的Ajax代码
摘要:[代码][JavaScript]代码varAjax={};Ajax._xmlHttp=function(){returnnew(window.ActiveXObject||window.XMLHttpRequest)("Microsoft.XMLHTTP");}Ajax._AddEventToXHP=function(xhp,fun,isxml){xhp.onreadystatechange=function(){if(xhp.readyState==4&&xhp.status==200)fun(isxml?xhp.responseXML:xhp.respo
阅读全文
posted @ 2012-04-01 18:00