top.topFrame.location.href('test.htm')这句在ie5里面不识别

whiteclude 2001-09-07 02:27:52
那么怎么才能在ie5里面可以使一个多桢页面,一个刷新另外一个,我需要重新载入另外一个,我还试过了
window.parent.topFrame.location.href('test.htm')
window.parent.topFrame.location.reload('test.htm')
top.parent.topFrame.location.reload('test.htm')
都不能在ie5中浏览,但是ie5.5是可以浏览的
...全文
68 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
busibird 2001-09-07
  • 打赏
  • 举报
回复
window.parent.topFrame.location.href='test.htm'

window.parent.topFrame.location.reload()
huijunzi 2001-09-07
  • 打赏
  • 举报
回复
应该是
parent.topFrame.location.href('test.htm')
如果只有两级关系的话

87,922

社区成员

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

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