onclick事件出错
代码如下:
<%
Sub checkCode()
if code = ReadCode(request.form("formCode")) then
AfterCodeCheck = true
end if
end sub
%>
<input type="text" maxlength="4" name="Code" id="txtCode">
<input type="button" name="OK" onclick="checkCode()" value="OK">
在网页中,当我点击OK按纽时,状态栏提示"网页上有错误". 我不知道哪里出错,请赐教