left1.asp 源码如下:
<!--#include file="config.asp" --> ---------连接数据库的. <% response.write "if (chk!=""Lattice""){self.location.href=""default.asp"";}" response.write "var indexleft;" response.write "indexleft="""";" response.write "indexleft+='<table width=""168"" cellspacing=""0"" cellpadding=""3"" border=""0""><tr><td bgcolor=""#dcdcdc"" height=""100"" width=""162""><marquee direction=""up"" scrolldelay=""10"" scrollamount=""1"" height=""100"" onmouseover=""this.scrollDelay=500"" onmouseout=""this.scrollDelay=10"">';" Set rs = conn.Execute ("SELECT top 1 * FROM N_system") response.write "indexleft+='<font color=""#FF0000"">" & ChkString(rs("system_content"),"save") & "</font>';" rs.close set rs=nothing response.write "indexleft+='</td></tr></table></td>';" %>
我现在就是在想调用的地方就用<script language="javascript" src="left1.asp"></script>引用,可是就是得不到想要的結果.調試运行.出错部分就是红色部.错误提示:"期望有表达式"