关于window.open的应用!!

123123321 2003-08-25 08:13:12
我想从a页面点击按扭执行一个window.open打开一个窗口b,然后把窗口b里的一个文本框的数值传回窗口a,该怎么做呀?????
(不要另开窗口!)
...全文
28 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
postform999 2003-08-25
  • 打赏
  • 举报
回复
关注
qdlanghua 2003-08-25
  • 打赏
  • 举报
回复
关注
jhysky 2003-08-25
  • 打赏
  • 举报
回复
在a页中有<input type=text name=text1>,并在forma中
在b页中有<input type=text name=text2>, <input type=button name=button1 value="测试" onclick="window.opener.forma.text1.value=formb.text2.value">
并在formb中
ttt2 2003-08-25
  • 打赏
  • 举报
回复
var p=window.opener;
p.theForm.housefc.value=fc
pp4u 2003-08-25
  • 打赏
  • 举报
回复
opener.location.href="parent.asp?node=123"

28,390

社区成员

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

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