以下解决方案1、打开 mubiao 表 取出所有数据 隐含显示 使用时直接用 javascript调用显示出来2、使用javascript 刷一次页面使用 select * from mubiao where id= “”来调用3、使用 Ajax 方法 (研究中) 

解决方案 »

  1.   

    正好有空:aaa.asp就是本页<table width="700" border="1" align="center">
    <form action="rezaoxi1.asp" method="post"  name="form1">
    <tr><td width="30%">目标名称 </td>
    <td>
    <%set rs=server.CreateObject("adodb.recordset")
    dim mulu '传递参数
    mulu = request("mu")sql="select * from mubiao order by id desc"
    rs.open sql,conn,1,1
    If rs.eof or rs.bof Then
    response.Write "请先录入目标信息"
    Else
    %>
    <select name="mu"  size="1" onchange="location.reload('aaa.asp?mu='+this.options[this.selectedIndex].value)">          <option value="<%=rs("mu")%>"><%=rs("mu")%></option>
      <%rs.movenext
     do  while  not rs.eof 
      %>
        <option value="<%=rs("mu")%>"><%=rs("mu")%></option>
    <%rs.movenext
    loop%>
            </select>
    <%End If%>
    </td>
    <%sql2 = "select * from mubiao where mu='"&mulu&"'"
    if mulu<>"" then set rs2 = conn.execute(sql2)
    %>
    </tr>
    <tr><td>所属类别</td>
    <td>
    <input name="mulei" type="text" <%if mulu<>"" then%>
    value="<%= rs2("mulei")%>" 
    <%end if%>>
    </td>
    </tr>
    <tr><td>目标编号</td>
    <td><input name="mubian" type="text" <%if mulu<>"" then%>
    value="<%= rs2("mubian")%>" 
    <%end if%>></td>
    </tr>
    <tr><td>所属区域</td><td><input name="muqu" type="text" <%if mulu<>"" then%>
    value="<%= rs2("muqu")%>" 
    <%end if%>></td>
    </tr>
    </form>
    </talbe>
      

  2.   

    谢谢,,我想问的是有没有用javascript来实现,而不刷新页面的