主题:进来看下咯//一个html的问题
遇到了个问题
简化一下就是这样
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 5</title>
<script language ="vbscript ">
Function aaa()
dim a
b=cint(document.thisform.R1.value)
document.thisform.S1.value=b
end function
</script>
</head>
<body>
<p> </p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><input type="radio" value="2" name="R1">2</p>
<p><input type="radio" value="1" name="R1">1</p>
<p><input type="radio" value="1" checked name="R1">1</p>
<p><textarea rows="2" name="S1" cols="20"></textarea></p>
<p> </p>
<p><input type="button" value="提交" name="B1" onclick="aaa()"><input type="reset" value="重置" name="B2"></p>
</form>
</body>
</html>
简化一下就是这样
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 5</title>
<script language ="vbscript ">
Function aaa()
dim a
b=cint(document.thisform.R1.value)
document.thisform.S1.value=b
end function
</script>
</head>
<body>
<p> </p>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="_private/form_results.csv" S-Format="TEXT/CSV" S-Label-Fields="TRUE" -->
<p><input type="radio" value="2" name="R1">2</p>
<p><input type="radio" value="1" name="R1">1</p>
<p><input type="radio" value="1" checked name="R1">1</p>
<p><textarea rows="2" name="S1" cols="20"></textarea></p>
<p> </p>
<p><input type="button" value="提交" name="B1" onclick="aaa()"><input type="reset" value="重置" name="B2"></p>
</form>
</body>
</html>

您所在位置:
