行:242 字符:1 错误:缺少对象。代码没有242行,错误码在左下角一个黄色的感叹号码

来源:百度知道 编辑:UC知道 时间:2024/05/12 17:10:31
<!--#include file="Inc/syscode.asp" -->
<!--#include file="inc/Skin_CSS.asp"-->
<!--#include file="Inc/Top.asp"-->
<!--#include file="Inc/Eshopcode.asp"-->
<!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>
<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
<!-- #include file="Head.asp" -->
</head>
<body>
<TABLE width="760" border

在浏览器上选查看源文件,然后把242行内容粘贴出来,大家帮你看,或许你自己也能看出来。

肯定找错地方了,你找出的这两段没有任何JS代码,不可能报告缺少对象错误。在JS报告缺少对象的时候,肯定是因为里面调用了不被识别的函数或者变量。

问题应该出在包含的其他网页.