我要怎么改才是正确的啊,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<% dim ok 'ok我己定了了
ok=Session("CheckCode")
%>
<script language="javascript">
function checkcode(form){
if(form.goog.value!=ok) '程度运行时为什么会说ok没定义
{ alert("验证码不对!");
return false;
}
}
</script>
</head>
<body>
<form name="form1" method="POST" onSubmit="return checkcode(this)">
<p>
<input type="submit" name="Submit" value="提交" >
<input name="use" type="text" id="use" >
<input name="pas" type="text" id="pas">
<input type="text" name="goog">
<img src="/code.asp"></p>
</form>
</body>
</html>