小虾提问,哪位大侠帮帮忙,谢了

fog 2002-07-10 12:25:27
我有两个面页一个会议登记表(register.asp)和一个增加用户名(addUser.asp),在登记表中点击参加人员跳到addUser.asp,然后选择用户名再返回登记表,并返回选中的用户名,最后提交入库。
有两个地方我不会,请教各位大侠
1、register.asp页面中,怎样personlist的数据传到zrList
2、两个页面的数据传递的问题

--------------------------------------------------

登记表(register.asp)

<%@ Language=VBScript %>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>会议登记</title>
<style type="text/css">
<!--
div { font-size: 12px; color: #FFFFFF}
td { font-size: 12px; color: #000000}
a { color: #000000; text-decoration: none}
a:hover { color: #006699; text-decoration: none}
-->
</style>
</head>
<form method="POST" action="AddMeet.asp" name="frmAddMeet">
<table border="0" width="100%">
<td align="right" bgcolor="#FFFFFF">日期:</td>
<td bgcolor="#FFFFFF">
<input type="text" name="txtMeetYear" value="<%=Date()%>">
</td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">地点:</td>
<td bgcolor="#FFFFFF"><input type="text" name="txtMeetPlace" size="30"></td>
</tr>
<tr>
<td align="right" valign="top" bgcolor="#FFFFFF">
<div style="cursor:hand" onclick="Man_Option()">
参加人员:
</div>
</td>
<td bgcolor="#FFFFFF">
<select name="dMeetAddMan" size="3" style="width:150" >
</select>
</td>
</tr>
</table>
<p align="center"><input type="button" value="提交" name="submit" onclick="onclick_sub()">  <input type="reset" value="重写" name="subRe"></p>
</form>
</html>
<SCRIPT LANGUAGE=javascript>
<!--
function Man_Option()
{
window.open('addUser.asp','','width=400,height=300')
}
//-->
</SCRIPT>

-----------------------------------------

增加用户名(addUser.asp)

<%@ Language=VBScript %>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<style type="text/css">
<!--
div { font-size: 12px; color: #FFFFFF}
td { font-size: 12px; color: #000000}
a { color: #000000; text-decoration: none}
a:hover { color: #006699; text-decoration: none}
-->
</style>
</head>
<body>
<table width="100%" height="100%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr bgcolor="31659C">
<td height="22">
</td>

<td width="25%" height="22">
</td>
<td width="25%" height="22">
<font color="#FFFFFF">已选择的人员</font>
</td>
</tr>

<tr>
<td height="100%">
<select id="personlist" name="personlist" size="10000" style="WIDTH: 100%; HEIGHT: 100%">
<option value="444@fog.com">444</option>
<option value="6666@fog.com">6666</option>
<option value="Administrator@fog.com">Administrator</option>
<option value="ddd@fog.com">ggff</option>
<option value="SystemMailbox@fog.com">SystemMailbox</option>
</select>
</td>
<td align="middle">
<table border="0" cellspacing="1" cellpadding="1" width="100%" height="100%" align="center">
<tr width="100%" align="center">
<td align="center">
<a id="AddButton" href="#">添加--></a>
</td>
</tr>
<tr width="100%">
<td align="center">
<a id="DeleteButton" href="#"><--删除</a>
</td>
</tr>
<tr width="100%">
<td align="center">
<a id="confirm" href="#">返回</a>
</td>
</tr>

</table>
</td>
<td height="100%">
<select id="zrList" name="zrList" size="10000" multiple style="WIDTH: 100%; HEIGHT: 100%">
</select>
</td>
</tr>
</table>
</body>
</html>
<SCRIPT LANGUAGE=javascript>
<!--
function AddButton_onclick()
{
这里怎样写
}

//-->
</SCRIPT>
...全文
27 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Bluebamboo 2002-07-10
  • 打赏
  • 举报
回复
太多了
lanying 2002-07-10
  • 打赏
  • 举报
回复
程序有点长,没心思看
BrightEye 2002-07-10
  • 打赏
  • 举报
回复
你要问什么?
fog 2002-07-10
  • 打赏
  • 举报
回复
有人在吗?帮帮忙?我一定给分了

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧