<body leftmargin="0" bgcolor="#FFFFFF" topmargin="0">
<script language=VBScript>
<!--
sub FirstSel_OnChange()
'开放第二节
SecondSel.disabled=false
SecondSel.selectedIndex=-1
'关闭第三节
ThirdSel.selectedIndex=-1
ThirdSel.disabled=true
end sub
sub SecondSel_OnChange()
'开放第三节
ThirdSel.disabled=false
ThirdSelValues=array("KF","WL","SJ","CZ","00")
ThirdSelTexts=array("开发语言类","网络类","数据库","操作系统","无类/不分类/未分类")
if SecondSel.value="A" and FirstSel.value="TS" then
for n=0 to ThirdSel.length-1
ThirdSel.remove(0)
next
for n=0 to 4
set opt=document.createElement("OPTION")
opt.value=ThirdSelValues(n)
opt.text=ThirdSelTexts(n)
ThirdSel.add opt
next
else
for n=0 to ThirdSel.length-1
ThirdSel.remove(0)
next
end if
ThirdSel.selectedIndex=-1
end sub
<script language=vbscript>
sub changeselect(x)
j=document.all.addd.dbry.length-1
for i=j to 0 step -1
document.all.addd.dbry.remove(i)
next
<%
sql="select bmbm from jb_ks"
set ks=conn.execute(sql)
while not ks.eof
%>
if strcomp(x,"<%=ks(0)%>")=0 then
<%
sql="select gh,xm from jb_ry where ksbh='"+ks(0)+"'"
set hoho=conn.execute(sql)
while not hoho.eof
%>
/////主要带马
set ooption=document.createelement("option")
ooption.text="<%=hoho("xm")%>"
ooption.value="<%=hoho("gh")%>"
document.all.addd.dbry.add(ooption)
//////
<%
hoho.movenext
wend
%>
end if
<%
ks.movenext
wend
%>
end sub