我在页面加载时在控制台中收到此错误消息。需要注意的是,我在asp文件中根本没有236行,以及开发人员工具中的html。请建议我如何解决此问题。我试图通过notepad ++找到是否存在任何unicode,但代码中没有unicode。我附上了以下开发人员工具的代码。请指教。提前谢谢!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><META content="IE=5.0000" http-equiv="X-UA-Compatible">
<META content="text/html; charset=windows-1252" http-equiv="Content-Type">
<SCRIPT language="VBScript">
Sub submitForm(intSubmitType)
' store the submit type
frmReportList.intSubmitType.value = intSubmitType
' submit form
frmReportList.submit
End Sub
</SCRIPT>
<SCRIPT language="JavaScript">
function ClickImage(n)
{
var objSrc = window.event.srcElement.style;
objSrc.posTop = n;
objSrc.posLeft = n;
}
</SCRIPT>
</HEAD>
<BODY>
<FORM method="POST" name="frmReportList" action="ReportList.asp"><INPUT name="intSubmitType"
value="0" type="hidden">
<TABLE border="0" cellSpacing="1" cellPadding="2" width="600" align="center">
<TBODY>
<TR>
<TD><!-- Page heading -->
<TABLE border="0" cellSpacing="0" cellPadding="0" width="400" align="center">
<TBODY>
<TR>
<TD colSpan="2">
<TABLE border="0" cellSpacing="0" cellPadding="0" width="400"
background="title_block.gif" align="center" height="22">
<TBODY>
<TR>
<TD align="center"><B>Report List for
EXS4FAAA</B></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE width="400" align="center">
<TBODY>
<TR>
<TD height="26" colSpan="3" align="CENTER"><IMG src="/msclassicdealer/bin/images/redline.gif"
width="600" height="1"></TD></TR>
<TR>
<TD bgColor="#c0c0c0" width="100"><B>File Name</B></TD>
<TD bgColor="#c0c0c0" width="100"><B>File Size</B></TD>
<TD bgColor="#c0c0c0" width="200"><B>Create Date</B></TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\AFRL Registrations for Today_201441184023.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\AFRL Registrations for Today_201441184023.xls">AFRL
Registrations for Today_201441184023.xls</A></TD>
<TD>9,7 kb</TD>
<TD>1/04/2014 18:40:25</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\AFRL Registrations for Today_201441184136.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\AFRL Registrations for Today_201441184136.xls">AFRL
Registrations for Today_201441184136.xls</A></TD>
<TD>9,7 kb</TD>
<TD>1/04/2014 18:41:38</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_2014512151658.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_2014512151658.xls">Dealer
Maintenance_2014512151658.xls</A></TD>
<TD>40,4 kb</TD>
<TD>12/05/2014 15:16:58</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_2014512151710.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_2014512151710.xls">Dealer
Maintenance_2014512151710.xls</A></TD>
<TD>40,4 kb</TD>
<TD>12/05/2014 15:17:10</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_2014617141021.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_2014617141021.xls">Dealer
Maintenance_2014617141021.xls</A></TD>
<TD>40,4 kb</TD>
<TD>17/06/2014 14:10:21</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714106.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714106.xls">Dealer
Maintenance_201461714106.xls</A></TD>
<TD>40,4 kb</TD>
<TD>17/06/2014 14:10:06</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714722.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714722.xls">Dealer
Maintenance_201461714722.xls</A></TD>
<TD>40,4 kb</TD>
<TD>17/06/2014 14:07:22</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714849.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714849.xls">Dealer
Maintenance_201461714849.xls</A></TD>
<TD>40,4 kb</TD>
<TD>17/06/2014 14:08:49</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714953.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714953.xls">Dealer
Maintenance_201461714953.xls</A></TD>
<TD>40,4 kb</TD>
<TD>17/06/2014 14:09:53</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714958.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Maintenance_201461714958.xls">Dealer
Maintenance_201461714958.xls</A></TD>
<TD>40,4 kb</TD>
<TD>17/06/2014 14:09:58</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201451215183.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201451215183.xls">Dealer
Owner Group List_201451215183.xls</A></TD>
<TD>9,7 kb</TD>
<TD>12/05/2014 15:18:03</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201451215189.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201451215189.xls">Dealer
Owner Group List_201451215189.xls</A></TD>
<TD>9,7 kb</TD>
<TD>12/05/2014 15:18:09</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201461714659.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201461714659.xls">Dealer
Owner Group List_201461714659.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:06:59</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201461714839.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201461714839.xls">Dealer
Owner Group List_201461714839.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:08:39</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201461714933.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Owner Group List_201461714933.xls">Dealer
Owner Group List_201461714933.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:09:33</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Territories_201461714647.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Territories_201461714647.xls">Dealer
Territories_201461714647.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:06:47</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Territories_201461714826.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Territories_201461714826.xls">Dealer
Territories_201461714826.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:08:26</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealer Territories_201461714923.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealer Territories_201461714923.xls">Dealer
Territories_201461714923.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:09:22</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealership List by Area_201461714410.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealership List by Area_201461714410.xls">Dealership
List by Area_201461714410.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:04:10</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealership List by Area_201461714714.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealership List by Area_201461714714.xls">Dealership
List by Area_201461714714.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:07:14</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealership List by Area_201461714944.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealership List by Area_201461714944.xls">Dealership
List by Area_201461714944.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:09:44</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealership List by Region_201461714639.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealership List by Region_201461714639.xls">Dealership
List by Region_201461714639.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:06:39</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealership List by Region_201461714859.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealership List by Region_201461714859.xls">Dealership
List by Region_201461714859.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:08:59</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Dealership List by Region_20146171497.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Dealership List by Region_20146171497.xls">Dealership
List by Region_20146171497.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:08:59</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_2014617135735.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_2014617135735.xls">Full
Dealership List_2014617135735.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 13:57:35</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_201461714626.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_201461714626.xls">Full
Dealership List_201461714626.xls</A></TD>
<TD>9,7 kb</TD>
<TD>17/06/2014 14:06:26</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_2014618113712.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_2014618113712.xls">Full
Dealership List_2014618113712.xls</A></TD>
<TD>10,2 kb</TD>
<TD>18/06/2014 11:37:11</TD></TR>
<TR>
<TD><INPUT id="chkSelect" name="chkSelect" value="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_201461811386.xls"
type="checkbox"> <A href="\content\reports\006\HUK\EXS4FAAA\Full Dealership List_201461811386.xls">Full
Dealership List_201461811386.xls</A></TD>
<TD>10,2 kb</TD>
<TD>18/06/2014 11:38:06</TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD>
<TABLE border="0" cellSpacing="0" cellPadding="0" width="250" align="center">
<TBODY>
<TR align="middle">
<TD><A style="cursor: pointer;" onclick="Call submitForm(1)"><IMG
style="left: 0px; top: 0px; position: relative;" onmouseup="ClickImage(0)"
onmousedown="ClickImage(2)" border="0" name="Delete" alt="Delete"
src="/msclassicdealer/bin/images/buttons/delete.gif" width="30"
height="30"></A></TD></TR></TBODY></TABLE></TD></TR>
</TBODY></TABLE></FORM></BODY></HTML>
答案 0 :(得分:0)
我在本地服务器上加载了您的页面,但可能是我的浏览器设置只是忽略了错误。我认为问题在于你的最终锚标签 - onclick方法正在调用你的vbscript函数,但我很确定你需要在onclick方法中明确声明该函数是vbscript(我认为是JavaScript)。
请尝试以下方法:
<A style="cursor: pointer;" onclick="vbscript:call submitForm(1)">
如果这不起作用,我会建议您简单地抽取页面的各个部分,以尝试找出问题所在。只需剪切一段标签/代码(包含上述锚标签的整个TD将在我开始的地方),然后重新加载页面。如果它有效,你知道在哪里聚焦,并且可以根据需要深入潜水。
但我认为上述情况会治愈它。