求救!我把一段asp 语句放在javascript 中输入,一切正常,可就是想加 target=blank 是出错,应该如何写呢?
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">
<SCRIPT language=JavaScript>
<!-- Begin
//字幕板宽度
var swidth=200
//字幕板高度
var sheight=100
//滚动速度
var sspeed=2
var wholemessage=''
//字幕在此
wholemessage='<div align="center"><font color="red" size=2><%
if rs.eof and rs.bof then
hh ="没有可以显示的数据"
end if
do until rs.EOF
hh =rs("biaoti")
response.write "<a href=g_show.asp?id="&rs("id")&" >"
response.write hh
response.write "</
<SCRIPT language=JavaScript>
<!-- Begin
//字幕板宽度
var swidth=200
//字幕板高度
var sheight=100
//滚动速度
var sspeed=2
var wholemessage=''
//字幕在此
wholemessage='<div align="center"><font color="red" size=2><%
if rs.eof and rs.bof then
hh ="没有可以显示的数据"
end if
do until rs.EOF
hh =rs("biaoti")
response.write "<a href=g_show.asp?id="&rs("id")&" >"
response.write hh
response.write "</a>"
response.write "<p>"
rs.MoveNext
loop
%></font></div>
----------------------------------
response.write "<a href=g_show.asp?id="&rs("id")&" >" 我想把target=blank 加进去,可是加进去就报错,要如何写呢?
俱体报错如下:
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
Microsoft VBScript 编译器错误 错误 '800a0408'
无效字符
/web/cp.asp,行72
response.write "<a href=g_show.asp?id="&rs("id")&" target="_blank">"