Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/02/2003, 09:45
webpedaler
 
Fecha de Ingreso: mayo-2001
Mensajes: 87
Antigüedad: 23 años
Puntos: 0
Tunait
ya me di cuenta como se podia hacer
eran simples los cambios hahaha.
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function cambiar(cual,valor)
{
if(valor==0){cual.pepe.style.visibility='hidden'}
if (valor==1){cual.pepe.style.visibility='visible'}
if (valor==4){cual.plop.style.visibility='visible'}
}
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<select name="opciones" onChange="cambiar(this.form,this.selectedIndex)">
<option selected>Seleccionar</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
<input type="text" name="pepe" style="visibility:hidden">
<input type="text" name="plop" style="visibility:hidden">
</form>
</body>
</html>


Muchas gracias , e aprendido algo hoy hahaha :cantar: :cantar: