AJAX 学习笔记(八): AJAX 制作可自动校验的表单
网络整理 - 07-26
客户端代码(9-9.html ):
<style type="text/css">
<!--
form{
}
input{
}
-->
</style>
<script language="t">
}
getElementById("UserResult");
"red";
else
"black";
}
"User cannot be empty.";
return;
}
getTime();
open("GET",sUrl,true);
function(){
}
null);
}
</script>
服务器端代码(9-9.aspx ):
<%
"no-cache";
Response.AddHeader("Pragma","no-cache");
"isaac")
" already exists.");
else
Request["user"]+" is ok.");
%>