帮我解决一下这个问题

flbz 2003-05-20 10:20:37
如何通过把index.htm中code3的的值在window.open的时候传递到text.htm中的code3


index.htm
<form name=form1>
<input type="text" name="Code3" size="5" maxlength="3">
<a href='#'onclick='window.open("/test.htm">
<img src='/images/findty.gif' border=0 align="absmiddle">
</a>
</form>

'text.htm
<form name=form1>
<input type="text" name="Code3" size="5" maxlength="3">
</form>

...全文
15 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
fason 2003-05-20
  • 打赏
  • 举报
回复
<body onload="form1.Code3.value=opener.document.form1.Code3.value">

87,907

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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