62,046
社区成员
发帖
与我相关
我的任务
分享
<script>
var xmlHttp=new XMLHttpRequest();
function check(id) {
if (id == "")
return;
document.getElementById("id_msg").innerHTML = " 检查中,请稍候……";
var url = "hhh.ashx?wd=ss" + escape(id);
xmlHttp.open("GET", url, true);
xmlHttp.onreadystatechange = ShowResult;
xmlHttp.send(null);
}
function ShowResult() {
if (xmlHttp.readyState == 4) {
if (xmlHttp.status == 200) {
var s;
alert(xmlHttp.responseText);
}
else {
document.getElementById("id_msg").innerHTML = xmlHttp.status;
}
}
}
</script>