self.location.href=”http://www.baidu.com”; //本页面打开
window.location.href=”http://www.baidu.com”; //本页面打开
window.open(“http://www.baidu.com“);//在新的窗口打开页面
js跳转到新的页面打开
猜你喜欢
转载自blog.csdn.net/qq_29676179/article/details/52605126
今日推荐
周排行