Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/07/2005, 08:49
Avatar de SiR.CARAJ0DIDA
SiR.CARAJ0DIDA
 
Fecha de Ingreso: junio-2004
Ubicación: Acá
Mensajes: 1.166
Antigüedad: 20 años, 7 meses
Puntos: 4
si el select esta creado y oculto puedes usar esto, sino lo puedes crear dinamicamente.
Código PHP:
<html>
<
head>
    <
script type="text/javascript">
        function 
lala(o)
        {
            if (
o.selectedIndex == o.options.length 1document.getElementById('otro_select').style.display '';
            else 
document.getElementById('otro_select').style.display 'none';
        }
    
</script>

</head>

<body>
    <select name="sel" id="sel" onchange="lala(this)">
        <option value="1">1
        <option value="2">2
        <option value="3">3
    </select>
    <select name="otro_select" id="otro_select" style="display:none">
        <option value="1">1
        <option value="2">2
        <option value="3">3
    </select>
</body>
</html>