Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/06/2007, 11:31
rlobos
 
Fecha de Ingreso: enero-2005
Mensajes: 105
Antigüedad: 20 años, 2 meses
Puntos: 2
De acuerdo Re: Select en problemas

Prueba con esto:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
</head>
<body>
<div id="opciones" align="center">Perro</div>
<script>
var campo = document.getElementById("opciones");

function muestraSeleccion(texto)
{ campo.innerHTML=texto; }
</script>
<table>
<tr>
<td>Opcion</td>
<td>
<SELECT NAME="animales" onChange="muestraSeleccion(this.value)" SIZE="1">
<OPTION VALUE="Perro">Perro
<OPTION VALUE="Gato">Gato
<OPTION VALUE="Vaca">Vaca
<OPTION VALUE="Caballo">Caballo
</SELECT>
</td>
</tr>
</table>
</body>
</html>



Salu2