![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
17/10/2007, 08:39
|
![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: como hacer que al cambiar de input se activen botones Hola Gaby_Corr
A ver si esto te sirve:
Código:
<form>
<input type="text" onblur = "boton1.disabled=(this.value=='')" />
<input type="button" name="boton1" value="Botón 1" disabled="disabled" /><br />
<input type="text" onblur = "boton2.disabled=(this.value=='')" />
<input type="button" name="boton2" value="Botón 2" disabled="disabled" />
</form>
Saludos, |