<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312" />
<title>后台首页</title>
<link href="img/Style.Css" rel="stylesheet" type="text/css" />
<LINK href="img/admincpmain.css" type=text/css rel=stylesheet>
</head>
<body>
<TABLE cellSpacing=6 cellPadding=2 width="100%" border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=guide cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD>后台主页</TD>
        </TR>
</TBODY>
  </TABLE>
<table width=100% border=0 cellpadding=0 cellspacing=0 class=tableborder>
<TR>
  <TD height="40" colspan=4 width="50%" valign="top">
<script src="maincall/MainCall.asp?t=1"></script>
  </TD>  
 </TR>
</table>
</TD>
</TR>
</TBODY>
</TABLE>
</body>
</html>IE的报错提示是“缺少‘)’”
我实在找不到错误在哪
请帮我看看问题在哪

解决方案 »

  1.   

    <script src="maincall/MainCall.asp?t=1"></script>
    在这个文件里面去找错误,调试下就知道在哪里出错了,这个是语法错误,(没闭合
      

  2.   

    我单独运行了maincall/MainCall.asp?t=1的呀
    运行是正确的
    结果也正确啊
    所以才奇怪!
      

  3.   

    确定js文件的编码与页面的是一致的,动态生成的js代码吧。。输出的时候什么啊
      

  4.   

    我把maincall/MainCall.asp?t=1的代码也贴出来吧!Case 1
    Show=Show&"<table width=100% border=0 cellpadding=0 cellspacing=0 class=tableborder>"
    Show=Show&"<TR class=header><td colspan=""3"" height=""40""><a href=""Savesms.asp"" target=""main"">后台短消息</a></td><td height=""40"" align=""right""><div align=""right""><a href=""Savesms.asp"" target=""main"">详情...</a>&nbsp;&nbsp;&nbsp;&nbsp;</div></td></TR>"
    Show=Show&"<tr class=""altbg1"">"
    Show=Show&"<td width=""10%"" class='css_top'><div align=""center"">序号</div></td>"
    Show=Show&"<td width=""10%"" class='css_top'><div align=""center"">发件人</div></td>"
    Show=Show&"<td width=""50%"" class='css_top'><div align=""center"">标题</div></td>"
    Show=Show&"<td width=""30%"" class='css_top'><div align=""center"">时间</div></td>"
    Show=Show&"</tr>"
    Set ShortInfo=Server.CreateObject("Adodb.recordset")
    ShortInfo.open "Select Top 8 SendName,IsSendMark,Send_Del_Mark,Send_ForeverDel_Mark,ReceiveName,IsRead,Receive_Del_Mark,Receive_ForeverDel_Mark,Title,Content,SendTime From [Back_ShortInfo] Where [ReceiveName]='"&NickName&"' And Receive_Del_Mark=0 And Receive_ForeverDel_Mark=0",ConnStrbbs,1,1
    If Not ShortInfo.Eof Then
    i=1
    Do While Not ShortInfo.Eof
    Show=Show&"<tr>"
    Show=Show&"<td width=""11%"" class='css_top'><div align=""center"">"&i&"</div></td>"
    Show=Show&"<td width=""11%"" class='css_top'><div align=""center"">"&ShortInfo("SendName")&"</div></td>"
    Show=Show&"<td width=""53%"" class='css_top'><div align=""center"">"&ShortInfo("Title")&"</div></td>"
    Show=Show&"<td width=""12%"" class='css_top'><div align=""center"">"&ShortInfo("SendTime")&"</div></td>"
    Show=Show&"</tr>"
    i=i+1
    ShortInfo.Movenext
    Loop
    Else
    Show=Show&"<tr>"
    Show=Show&"<td colspan=""4""><div align=""left"">还没有短消息!</div></td>"
    Show=Show&"</tr>"
    End if
    ShortInfo.Close
    Set ShortInfo=Nothing
    Show=Show&"</table>"
    Response.Write "document.write('"+Show+"');"
      

  5.   

    content="text/html; charset=GB2312"应为
    content="text/html" charset="GB2312"
      

  6.   

      楼上说得不对,应该是content="text/html; charset=GB2312"
      

  7.   

    [Quote=引用 6 楼 zhousq00 的回复:]
    引用 5 楼 ghjlesse 的回复:
     content="text/html; charset=GB2312"应为
     content="text/html" charset="GB2312"
    跟这个没关系.....汗.
      

  8.   

    Show=Show&" <td width=""10%"" class='css_top'> <div align=""center"">序号 </div> </td>" 楼主你的字符串变量里面有单引号。。
      

  9.   

      第一种: asp不应该用<script>导入,应该用iframe导入
      第二种:将html代码放入jsp页面,用include导入
      
      

  10.   

    include是这么导入的<!--include file="文件名">