|
|
下拉框反回选定的文字 (修改页面经常用到) |
|
|
作者:未知 来源:月光软件站 加入时间:2005-2-28 月光软件站 |
<!-- #include file="connect.asp" --> <select name="info" size="1"> <% word=request("word") sql="select * from 试卷信息" rs.open sql,conn,1,1 do while not rs.eof %> <option <%if rs("试卷名称")=word then response.write "selected"%> value="<%=rs("试卷名称")%>"><%=rs("试卷名称")%></option> <% rs.movenext loop rs.close set rs=nothing %></select> <form name=form1 method=get action="2.asp"> <input type=text value="" name=word> <input type=submit name=submit1 value=submit></form>
|
|
相关文章:相关软件: |
|