您的位置:首页 > Web前端 > JavaScript

js的三种跳转

2012-05-28 13:15 134 查看
本页面: "window.location.href"、"location.href"

父页面:"parent.location.href"

顶层页面:"top.location.href"

刷新同样,把href换成reload()

parent.location.reload();

window.opener.document.location.reload(); //打开当前窗口的那个窗口的document

top.location.reload()
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: