Ver Mensaje Individual
  #4 (permalink)  
Antiguo 29/09/2010, 08:33
Avatar de _cronos2
_cronos2
Colaborador
 
Fecha de Ingreso: junio-2010
Mensajes: 2.062
Antigüedad: 13 años, 11 meses
Puntos: 310
Respuesta: habilitar un input file deshabilitando un text

Ok, prueba esto a ver:
Código HTML:
Ver original
  1. <input type='text' id='txt' />
  2. <input type='file' id='arch' disabled='disabled' />
  3. <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