[求助]如何将复选框的值插入同上字段
代码如下程序代码:
<%@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> </td> </tr> <tr> <td><label> <input type="submit" name="Submit" value="提交" /> </label></td> </tr> </table> </form> </body> </html>