在一个frame李刷新另一个frame

younggone 2003-08-20 03:32:54
index.html如下
<title>Double page</title>
<frameset cols="*,*">
<frame name="frshow" src="1.htm" scrolling="auto">
<frame name="frhiden" src="2.htm" scrolling="auto">
</frameset>

请问在2.htm里加什么样的script才能让1.htm的内容刷新?
...全文
33 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhaoweiwei 2003-08-21
  • 打赏
  • 举报
回复
frhiden.parent.frshow.location.reload()
swans 2003-08-20
  • 打赏
  • 举报
回复
废话,要介意早就懒得理你了.
younggone 2003-08-20
  • 打赏
  • 举报
回复
没多少分
不好意思
谢谢
重在交流 两位不回介意吧
  • 打赏
  • 举报
回复
<frame name="frshow" id="frshow" src="1.htm" scrolling="auto">


parent.frshow.location.reload()
meizz 2003-08-20
  • 打赏
  • 举报
回复
parent.frshow.location.reload()
younggone 2003-08-20
  • 打赏
  • 举报
回复
我用过
parent.frames.frshow.ownerDocument.reload();
这样的句子,但是不行
请赐教

87,910

社区成员

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

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