如何将弹出窗口中复选框(多选)选中的数据内容,传递到母文件的INPUT框中***急用+学习
有哪个高手就以下问题能给个详细的说明例子吗?以供小弟学习.谢谢了,在线等,急啊.
我有一表单文件如下:
文件名*******[send.asp]
<script language="javascript">
function openscriphtml()
{
if (navigator.appName!="Microsoft Internet Explorer")
alert("此功能 Netscape 用户不能使用!")
else
{newwin=window.open('list.asp','','width=544,height=294');
newwin.focus();
}
}
</script>
<form action="send.asp?sen=ok" method=post name="frmAnnounce">
<table border="0" width="600" cellspacing="1" bgcolor="#555555" cellpadding="2">
<tr>
<td width="77" bgcolor="#FFFFFF" valign="top">
参赛队员名单:<br/>
<br/><a href="javascript:openscriphtml()">所有队员列表</a></td>
<td width="512" bgcolor="#FFFFFF">
<input name="body" id="body"></input></td>
</tr>
<tr>
<td width="594" bgcolor="#E9E9E9" colspan="2">
<input type=Submit value="发 送" name="Submit"><input type="reset" name="Clear" value="清 除"></td>
</tr>
</table>
</form>
*******['list.asp']文件如下:我如何点了“确定”按钮后,将form中所有复选框打钩的列表值传递到send.asp页面中?
<form name=name_list action="">
<%do while not rs1.eof%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td width="26" height="25">
<input name="vote" type="checkbox" id="<%=rs1("id")%>" value="<%=rs1("name")%>"></td> //…………(复选框)
<td width="138">编号:<%=rs1("id")%></td>
<td width="300">名字:<%=rs1("name")%></td>
</tr>
</table>
<%rs1.movenext() loop%>
<input name="submit" type="submit">确定</input>
</form>
我如何点了“确定”按钮后,将form中所有复选框打钩的列表值传递到send.asp页面中?
请会的朋友帮我修改一下,以便我能达到我的效果,同时本人也能学习一下。谢谢了!