专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > DotNet Exception

Response.Write报错解决方法!

发布时间:2011-06-26 20:23:00 文章来源:www.iduyao.cn 采编人员:星星草

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

不过现在很多浏览器会阻止自动弹出的窗口。

    
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: