js 跳转新页面

window.location = "http://www.xxxxxxxx.net" 跳转后有后退功能 
其实应该是 window.location.href
window.location.replace("http://www.xxxxxxxx.net") 跳转后没有后退功能 

window.open("http://www.xxxxxxxx.net") 要新的窗口打开连接 
这个通常用于简单的弹出页面,如今基本上都被屏蔽掉了

 

 

window.location.reload();
window.location = "/Admin/UserList";
window.open("/Admin/UserList");

window.location.href = '/Admin/UserList'; 框架

window.location.reload()刷新当前页面..net

parent.location.reload()刷新父亲对象(用于框架)对象

opener.location.reload()刷新父窗口对象(用于单开窗口)io

top.location.reload()刷新最顶端对象(用于多开窗口)List

相关文章
相关标签/搜索