![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
31/07/2009, 13:17
|
![Avatar de Legoltaz](http://static.forosdelweb.com/customavatars/avatar255141_3.gif) | | | Fecha de Ingreso: agosto-2008
Mensajes: 325
Antigüedad: 16 años, 5 meses Puntos: 6 | |
Respuesta: bloquear campo de texto con javascript
Código HTML:
Ver originalif(this.options.value == '2') this.form.cajaTexto.setAttribute('disabled','disabled'); else this.form.cajaTexto.removeAttribute('disabled'); "> <input type="text" name="cajaTexto" />
|