弹出新的窗口 _blank window.location.target="_blank"; window.location.href("http://www.stxdalian.com"); "_blank为什么放在asp.net里不好用 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 asp.net 一样可以用 _blank啊 好用的,设置form的target属性就好 window.location.target="_blank"; window.location.href("http://www.stxdalian.com"); 这样写法在.html中也不管用。你只能用window.open或是动态的建一个<a href,指定它的target,再触发它的click事件 没有问题就是那个_blank不好用,但是asp.net里用window.open不好用呀,打不开窗体 这个属性,我只在<a href="#" target="_blank">标签里使用过,脚本的话,直接用window.open好了 如果是连接用 <a href="http://www.stxdalian.com" target="_blank"> 脚本的话,直接用window.open window.open为什么在asp.net里不好用呢 ASP.NET 客户端上传文件到服务端 DataTable数据绑定到Gridview 关于 加载 xml 文件后返回 null 值的问题?? 帮看下。。。。。 鼠标到一个点上的问题 dataset中删除记录的问题 打印的问题 怎么都打不开网页 听说ASP.NET可以拖控件做网页? 求推荐移动web应用开发框架 求教asp.net几个项目中很菜的问题 关于生成静态页面。
window.location.href("http://www.stxdalian.com");
这样写法在.html中也不管用。
你只能用window.open
或是动态的建一个<a href,指定它的target,再触发它的click事件
脚本的话,直接用window.open好了
脚本的话,直接用window.open