中科创达软件:asp 小错误 大家帮忙找一下

来源:百度文库 编辑:中科新闻网 时间:2024/04/28 20:06:48
<%@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>
if 语句中的控件数组不能驱动!

你的图片路径```````
还有就你是说你想改什么

能是能,但是只有最后一个才能.哪就说明你其它的地主没有对撒,你在只细找找.你的只有最后一个控键能驱动哟