日期:2014-05-16 浏览次数:20442 次
下面相关调用函数
function test4(sResponseText){
var a = document.getElementById("verifyInput");
if(sResponseText == a.value){
a.style.borderColor = "#d3d3d3";
return true;
}else{
a.style.borderColor = "#ff0000";
return false;
}
}
function verifys(){
var request = new HttpRequest("http://127.0.0.1/test1/testverify.php",test4);
request.send();
}