日期:2014-05-16  浏览次数:20382 次

如何打开一个新页面?除了open。
RT,
我在A页面,想在新窗口或新标签页打开B页面。
location有没有这个用法?
window.open这个方法被很多插件拦截。
有没有其它办法?




------解决方案--------------------
js代码创建一个form 这个form的action属性为B页面 target属性为_blank
用js模拟提交,
详见我写的这篇博客
http://blog.csdn.net/ChaoticLife/archive/2007/09/04/1772270.aspx
------解决方案--------------------
除了window.open方法里有target参数外,
以下对象也有target属性,
有类似的作用:

A, AREA, BASE, FORM, LINK