Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/10/2007, 22:26
Avatar de Shiryu_Libra
Shiryu_Libra
Colaborador
 
Fecha de Ingreso: febrero-2007
Ubicación: Cantando "Screenager" en "Kirafa Kaput"
Mensajes: 3.614
Antigüedad: 18 años, 2 meses
Puntos: 88
Re: como hacer que haga un select en asp en el onchange() ?

gaby:


buscar.asp
Código PHP:
<&#37;
function buscar()
   
call conectarDB
   
   Dim sSQL
rs
   
   sSQL 
"Select sistemas_id, sistemas_nombre, sistemas_linea FROM DS_Sistemas where sistemas_id = '"sistemas &"'"
   
rs cnn.execute(sSQL)
   
.......
.....
....
   
call desconectarDB
end 
function
 
if 
request.servervariables("REQUEST_METHOD")="POST" and request.form("metodo")="buscar" then
call buscar
()
 
else
%>
<
html>
<
body>
<
form action="buscar.asp" method="post">
<
input type="hidden" value="buscar" name="metodo">
<
input name="sistemas" type="text" id="sistemas" value="" size="20" maxlength="20" onChange="buscar()" />
</
form>
</
body>
</
html>
<%
end if%> 
te serviria esto???
__________________
"Eres parte del problema, parte de la solucion o parte del paisaje"
Un Saludo desde Desierto de Altar, Sonora, MX.
Shiryu_libra