那就是ajax的内容了 你等等我发给你 var xmlhttp; function checkname(status) { var name = document.getElementsByName("name")[0].value; xmlhttp = new createxml(); var temp; temp=(new Date()).valueOf(); xmlhttp.open("get", "servlet/checkname?status="+status +"&name=" + encodeURI(encodeURI(name))+"&time="+temp , true); xmlhttp...