主的:
<form id="form4" name="form4" method="post" action="">
<select name="DropDownList_Game" id="DropDownList_Game" style="width:165px;" onchange="javascript:submit()">
<%
set rs=conn.execute("select * from pclass where show=1 and ParentID=0 order by classname asc")
do while not rs.eof
%>
<option value="<%=rs("id")%>"><%=rs("classname")%></option>
<%
rs.movenext
loop
rs.close
set rs=nothing
%>
</select>
</form>
次的:
<select name="DropDownList_GameServer" id="DropDownList_GameServer" style="width:150px;">
<%
DropDownList_Game=request.Form("DropDownList_Game")
set rqs=conn.execute("select * from pclass where show=1 and parentid="&DropDownList_Game&"")
do while not rqs.eof
%>
<option value="<%=rs("id")%>"><%=rs("classname")%></option>
<%
rqs.movenext
loop
rqs.close
set rqs=nothing
%>
</select>
我想让他选择主的后,次的也变化,但我这样做网页打不开,请高手们指点下。