有谁动JAVA脚本 在ASP里怎么用 看我的那里写错了 请帮忙

来源:百度知道 编辑:UC知道 时间:2024/06/05 13:50:22
<TR Response.Write"ID=compareColor"&i&""<%if icolor=0 then response.write"bgColor=#ffffff" else response.write"bgColor=#f6f6f6" end if%> onMouseOver="this.style.backgroundColor='#FFF8F4'" onMouseOut="this.style.backgroundColor='<%if icolor=0 then response.write"#ffffff" else response.write"#f6f6f6" end if%>'">
以上是脚本 请高手来看是否是写错了 或者帮忙解决一下问题

你网页上没有设置Response控件吧,这个牵涉到很多方面的,如果数据库连接有问题的话也会出错.
一个页面与另一个页面之间调用不恰当的话也会出错.
我不知道你的网页里是怎么设的,所以无法判断.