91行缺少对象,代码0
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--#include file="Connections/conn.asp"-->
<%
Dim bumen
Dim bumen_cmd
Dim bumen_numRows
Set bumen_cmd = Server.CreateObject ("ADODB.Command")
bumen_cmd.ActiveConnection = MM_conn_STRING
bumen_cmd.CommandText = "SELECT distinct 部门 FROM dbo.clgz"
bumen_cmd.Prepared = true
Set bumen = bumen_cmd.Execute
bumen_numRows = 0
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>朝阳社保中心经办业务材料告知系统</title>
</head>
<body>
<p><img src="image/1.JPG" width="1000" height="111" /></p>
<script language ="javascript">
Yewus = new Array();
<%
sql = "select * from clgz"
set rs = conn.execute(sql)
i = 0
while not rs.eof
%>
Yewus[<%=i%>] =new Array("<%=rs("部门")%>","<%=rs("业务")%>");
<%
i = i + 1
rs.movenext
wend
rs.close
set rs = nothing
%>
function changeselect(selvalue){
var selvalue = selvalue;
var i;
document.form1.yewu.length = 0 ;
document.form1.yewu.options[document.form1.yewu.length] = new Option("请选择","");
for (i = 0 ;i <Yewus.length;i++){
if(Yewus[i][0]==selvalue){
document.form1.yewu.options[document.form1.yewu.length] = new Option(Yewus[i][1],Yewus[i][1]);
}
}
}
</script>
<script language ="javascript">
Cls = new Array();
<%
sql = "select * from clgz"
set rs = conn.execute(sql)
i = 0
while not rs.eof
%>
Cls[<%=i%>] =new Array("<%=rs("业务")%>"),"<%=rs("材料")%>");
<%
i = i + 1
rs.movenext
wend
rs.close
set rs = nothing
%>
function cxcl(yewu){
var yewu = yewu;
var i;
document.form2.cl.length = 0 ;
for (i=0;i<Cls.length;i++){
if(Cls[i][0]==yewu){
document.form2.cl.options[document.form2.cl.length] = new Option(Cls[i][1],Cls[i][1]);
}
}
} /*这里是83行*/
</script>
<form id="form1" name="form1" method="Get">
<table width="1000" border="0">
<tr>
<td>请选择所属部门:
<label>
<select size=1 name="bumen" id="bumen" onchange="changeselect(document.form1.bumen.options[document.form1.bumen.selectedIndex].value)"/>
<%
While (NOT bumen.EOF)
%>
<%
bumen.MoveNext()
Wend
If (bumen.CursorType > 0) Then