饥荒 刷海象掉落:asp 小错误 大家帮忙找一下

来源:百度文库 编辑:高考问答 时间:2024/04/28 16:49:00
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!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>qq</title>
<img src="soft0001.JPG">
</head>
<body>
1<input type="checkbox" name="q" >
2<input type="checkbox" name="q" >
3<input type="checkbox" name="q" >
4<input type="checkbox" name="q" >
<script language="vbscript">
sub q_onclick()
if q(0).checked then
msgbox "q0"
else
msgbox "no q0"
end if
if q(1).checked then
msgbox "q1"
end if
if q(2).checked then
msgbox "q2"
end if
if q(3).checked then
msgbox "q3"
end if
end sub
sub aaa_onclick()
i=aaa.selectedindex
msgbox aaa.options(i).value
end sub
</script>
</body>
</html>

标单名称是一样的,过程程序不识别,无法区分开表单名