示列
代码
以上例子运用的是方法二 如下
方法一
window.location.target= "_blank ";
window.location.href= "index.htm ";
方法二
window.open( "index.htm ", "_blank ")