关于帧间传递参数问题
<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>
这样的写法出错,请问应该如何传递过去呢
<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>
这样的写法出错,请问应该如何传递过去呢
...全文
相关推荐
frame之间进行参数传递例子
NULL 博文链接:https://penghuaiyi.iteye.com/blog/366458
JSP几种页面间传递参数实现的方法
JSP几种页面间传递参数实现的方法,希望能够提供一些帮助
pb 窗口间传递参数的方法
在PowerBuilder中函数OpenWithParm,CloseWithReturn,OpenSheetWithParm,windowname.OpenUserObjectWithParm 等都有一个在进行窗口操作(打开或者关闭)时存入Message消息对象的参数parameter或returnvalue。
html页面跳转传递参数问题
主要介绍了html页面跳转传递参数问题的相关资料,需要的朋友可以参考下
c# winform间传递参数的方法
C#中没有了像VB.Net中的全局变量,那么我们如何实现在不同的页面间传递参数呢? 下面举例说明如何实现这一功能. 1.新建一个项目. 2.在该工程中添加一个窗体Form1. 3.在该窗体中定义静态型字符串变量myTestStr1: public static string myTestStr1=""; 4.在该窗体的构造函数中对该变量进行赋值,并为该窗体类添加属性GetStrValue.


