Response.Write( " <a href= ' <% strURL %> ' target= '_blank '> </a> ")
点击页面没有反应,也不报错。。。大家帮忙改改
------解决方法--------------------------------------------------------
Response.Write( " <a href= " " " & strURL & " " " target= " "_blank " "> </a> ")
------解决方法--------------------------------------------------------
Response.Write( " <a href= ' <%=strURL %> ' target= '_blank '> </a> ")
<%=strURL %> 加个等号
------解决方法--------------------------------------------------------
Response.Write( " <a href= "+strURL+ " target=_blank> </a> ");
------解决方法--------------------------------------------------------
看你意思是要重定向吧
Response.Redirect(strURL);
需要开新窗口的话:
Response.Write( " <script> window.open( ' " + strURL + " ', ' ', 'width=300, height=200 ') </script> ")
------解决方法--------------------------------------------------------
Response.Redirect(strURL);
------解决方法--------------------------------------------------------
晚了,分被别人抢了!!!!!!!!!!
------解决方法--------------------------------------------------------
用response输出js代码
window.open
具体的代码我这里没有。你可以参考下google
不过现在很多浏览器会阻止自动弹出的窗口。