在原有的页面跳转
代码语言:javascript复制window.location.href='next.html'返回上一页
代码语言:javascript复制window.history.back(-1)top跳转
代码语言:javascript复制top.location.href='next.html'打开新窗口
代码语言:javascript复制window.open("next.html"); 重定向来跳转(不留栈)
代码语言:javascript复制window.location.replace("next.html");刷新页面
代码语言:javascript复制location.reload();


