js跳转新窗口

Posted on 2017-06-07 10:56  断弦悠扬  阅读(125)  评论(0编辑  收藏  举报

语法:window.open(url,[target]);

eg:

window.open("index.html");

window.open("index.html","_blank");

Copyright © 2024 断弦悠扬
Powered by .NET 8.0 on Kubernetes