知行合一

享受过程 漠视结果

导航

2011年5月14日 #

ajax手写代码实现

摘要: <scripttype="text/javascript">varxmlhttp=null;try{xmlhttp=newActiveXObject("Microsoft.XMLHTTP");}catch(e){try{xmlhttp=newXMLHttpRequest();}catch(e){alert("xmlhttp创建失败");}}functionstate_Change(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){varmes=xmlhttp.respo 阅读全文

posted @ 2011-05-14 13:33 项羽 阅读(443) 评论(0) 推荐(1) 编辑