ASP一个傻瓜问题,不过偶不会..请帮忙看看.

来源:百度知道 编辑:UC知道 时间:2024/06/11 06:06:08
我这样写的一句ASP语句[response.Write("<a href="&myself&"?page=1&news_type="&news_type&" onfocus=this.blur() class="a2">首页</a>")],调试的时候出现:Microsoft VBScript 编译器错误 (0x800A03EE)
缺少 ')'
/fy/gj.asp, line 225, column 93
response.Write("<a href="&myself&"?page=1&news_type="&news_type&" onfocus=this.blur() class="a2">首页</a>")
请大家帮我看哪里出错了.偶菜鸟一个..

把里面的双引号替换成单引号,最外面的一层还是用双引号
response.Write("<a href='&myself&'?page=1&news_type='&news_type&' onfocus=this.blur() class='a2'>首页</a>")