IF Request.Form("validatecode")=Empty Then
Response.Write("验证码为空")
Else
IF Trim(
Session("hangxj_ValidateCode"))<>Trim(Request.Form("validatecode")) THEN
Response.Write("验证码错误")
换成下面的写法该怎么写才对?
<script language="JavaScript">
<!--
function Check()
{
var b4 = document.form1.validatecode.value.toLowerCase();
if (b4<=0)
{
window.alert("请输入验证码!");
return false;
}
.....
}
//-->
</script>
我转换下面的代码都有错误
IF Trim(
Session("hangxj_ValidateCode"))<>Trim(Request.Form("validatecode")) THEN
Response.Write("验证码错误")