
29/09/2010, 08:33
|
 | Colaborador | | Fecha de Ingreso: junio-2010
Mensajes: 2.062
Antigüedad: 14 años, 9 meses Puntos: 310 | |
Respuesta: habilitar un input file deshabilitando un text Ok, prueba esto a ver:
Código HTML:
Ver original<input type='text' id='txt' /> <input type='file' id='arch' disabled='disabled' /> <input type='checkbox' onclick="ID('arch').disabled=this.checked;ID('txt').disabled=!this.checked;" />
Saludos (:
__________________ " Getting older’s not been on my plans
but it’s never late, it’s never late enough for me to stay. " Cigarettes - Russian Red |