发送方:
</script>
<form method="post" action="showdata.asp" οnsubmit="return true">
<table width="200" border="1">
<tr>
<td><input type="checkbox" name="test" value="1" οnclick="javascript:mycheck(this)"></td>
<td>1</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="2" οnclick="javascript:mycheck(this)"></td>
<td>2</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="3" οnclick="javascript:mycheck(this)"></td>
<td>3</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="4" οnclick="javascript:mycheck(this)"></td>
<td>4</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="5" οnclick="javascript:mycheck(this)"></td>
<td>5</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="6" οnclick="javascript:mycheck(this)"></td>
<td>6</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="7" οnclick="javascript:mycheck(this)"></td>
<td>7</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="8" οnclick="javascript:mycheck(this)"></td>
<td>8</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="9" οnclick="javascript:mycheck(this)"></td>
<td>9</td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="test" value="10" οnclick="javascript:mycheck(this)"></td>
<td>10</td>
<td> </td>
</tr>
</table>
<input type="submit" name="test11" value="加入购物车">
</form >
接受方:
<%
For i = 1 To Request.Form("test").Count
Response.Write Request.Form("test")(i) & "<BR>"
Next
%>