2014年2月24日
摘要: function ajax(url, onsuccess, onfail) { var xmlHttp = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); xmlHttp.open("POST", url, true); xmlHttp.onreadystatechange = function () { if (xmlHttp.readyState == 4) { if (xmlHttp.status == 200) { onsuc 阅读全文
posted @ 2014-02-24 15:47 麻衣之光 阅读(1036) 评论(0) 推荐(0) 编辑