注册 登录
编程论坛 ASP技术论坛

[求助]如何将复选框的值插入同上字段

kombel 发布于 2011-06-27 17:17, 391 次点击
代码如下
程序代码:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.>
<html xmlns="http://www.>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  <table width="100%" border="0">
    <tr>
      <td><label>
        <input type="checkbox" name="checkbox" value="1" />
        1
      </label>
        <label>
        <input type="checkbox" name="checkbox" value="2" />
        2
      </label>
        <label>
        <input type="checkbox" name="checkbox" value="3" />
      </label>
        <label>
        3
        <input type="checkbox" name="checkbox" value="4" />
      </label>
        <label>
        4
        <input type="checkbox" name="checkbox" value="5" />
        5
      </label>
        <label>
        <input type="checkbox" name="checkbox" value="6" />
        6
      </label>
        <label>
        <input type="checkbox" name="checkbox" value="7" />
      </label>
        <label>
        7
        <input type="checkbox" name="checkbox" value="8" />
      8</label></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td><label>
        <input type="submit" name="Submit" value="提交" />
      </label></td>
    </tr>
  </table>
</form>
</body>
</html>
1 回复
#2
cRazy谢不清2011-06-28 08:35
没看明白问的什么。。
1