主题:[讨论][求助]请教关于“response.Write”语法的书写问题
请大家帮忙看看这段代码:
-----------------------------
<%
if Rs("flag")="0" then
response.Write("<a href="#" onClick="MM_openBrWindow('Buy.asp?ID=<%=Rs("ID")%
>','','scrollbars=yes,resizable=yes,width=600,height=400')">【在线购买】</a>")
else
response.Write("本商品不支持在线购买")
end if
%>
--------------------------------
运行时,出现以下错误提示:
Microsoft VBScript 编译器错误 '800a03ee'
缺少 ')'
\cn\Shopindex.asp, line 236
请大家帮忙看看,究竟问题出在哪里,怎样修改?谢谢!
来源: http://www.programbbs.com/bbs/view17-17227-1.htm
-----------------------------
<%
if Rs("flag")="0" then
response.Write("<a href="#" onClick="MM_openBrWindow('Buy.asp?ID=<%=Rs("ID")%
>','','scrollbars=yes,resizable=yes,width=600,height=400')">【在线购买】</a>")
else
response.Write("本商品不支持在线购买")
end if
%>
--------------------------------
运行时,出现以下错误提示:
Microsoft VBScript 编译器错误 '800a03ee'
缺少 ')'
\cn\Shopindex.asp, line 236
请大家帮忙看看,究竟问题出在哪里,怎样修改?谢谢!
来源: http://www.programbbs.com/bbs/view17-17227-1.htm