关于帧间传递参数问题

sgmao sgmao 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<frameset rows="*" cols="124,*" border="0" framespacing="0">
<frame src="index_left.asp" name="frmleft" scrolling="auto" noresize>
<frameset rows="*,40" cols="*" framespacing="1" frameborder="yes" border="1">
<frameset rows="*,234" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="index_top.asp" name="frmtop">
<frame src="index_main.asp" name="frmmain" scrolling="NO" noresize>
</frameset>
<frame src="index_bottom.asp" name="frmbottom" scrolling="NO" noresize>
</frameset>
</frameset>
现要从index_left.asp传递一个变量到index_bottom.asp的文本框里面
应该怎么写呢?


index_left.asp里面
<a href="#" class="tdmain" onClick="javascriptarent.frmbottom.document.all("username").value=<%=guests(i,0)%>"><%=guests(i,0)%></a>


index_bottom.asp里面
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#B0D8FF">
<form action="" method="post" name="frmnewsay">
<tr>
<td height="6"></td>
</tr>
<tr>
<td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="px10">
<tr>
<td width="15"> </td>
<td width="60"> 你</td>
<td width="10">对</td>
<td width="80"><input name="username" type="text" class="btfrom" id="username" style="width:80px;" value=" 大 家"></td>
<td width="10">说</td>
<td width="300">
<input name="saycontent" type="text" class="btfrom" id="saycontent" style="width:300px;">
</td>
<td width="10"> </td>
<td>
<input name="butnewsay" type="submit" value="发言" class="func">
<input name="butreset" type="reset" id="butreset" value="清除" class="func">
<input name="butleave" type="button" id="butleave" value="离开" class="func">
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="6"></td>
</tr>
</form>

这样的写法出错,请问应该如何传递过去呢

...全文

相关推荐

评论 2
收藏 已收藏
分享
返回顶部
sgmao
ASP 28,400 成员 356,938 内容