码迷,mamicode.com
首页 > Web开发 > 详细

js实现页面跳转:在新页面中打开

时间:2019-01-15 21:02:28      阅读:235      评论:0      收藏:0      [点我收藏+]

标签:html   about   ref   location   htm   页面   win   open   ros   

const w = window.open(‘about:blank‘);
w.location.href = ‘index.html‘;

js实现页面跳转:在新页面中打开

标签:html   about   ref   location   htm   页面   win   open   ros   

原文地址:https://www.cnblogs.com/dadouF4/p/10274149.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!