![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
02/04/2007, 12:03
|
![Avatar de JavierB](http://static.forosdelweb.com/customavatars/avatar16568_12.gif) | Colaborador | | Fecha de Ingreso: febrero-2002 Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años Puntos: 772 | |
Re: mostrar precio al seleccionar! Hola kaos_diego
Prueba esto:
Código:
<form name="form1" method="post" action="">
<select name="combe" id="combe" onchange = "precio.value=this.value">
<option value="1.00">Fresa</option>
<option value="3.50">Uva</option>
<option value="1.50">platano</option>
<option value="2.00">naranja</option>
</select>
<input type="text" name="precio">
</form>
Saludos, |