<%dim sec,min,hou
if session("second")<>"" then
sec=session("second")
else
sec=0
end if
if session("minute")<>"" then
min=session("minute")
else
min=0
end if
if session("hour")<>"" then
hou=session("hour")
else
hou=0
end if
%>
<form name="form1" method="post" action="4.asp">
<center>
<div align=center><span class="unnamed1">考试时间:
<input type=text name=input1 size=9>
<script language=javascript><!--
var flag=0;idt=window.setTimeout("update();",1000);function update(){sec++;if(sec==60){sec=0;min+=1;}if(min==60){min=0;hou+=1;}if((min>0)&&(flag==0)){flag=1;}
document.form1.input1.value=hou+"时"+min+"分"+sec+"秒";idt=window.setTimeout("update();",1000);}
//-->
</script>
</span>
<input type="submit" name="Submit" value="提交">
</div>
</center>
</form>
form之前的是我根据判定赋值给hou,sec,min三个变量,测试能取的值,但是不知为何下面的javascrip语句中不能接受到 hou,sec,min的值?