Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/02/2011, 16:54
Avatar de _cronos2
_cronos2
Colaborador
 
Fecha de Ingreso: junio-2010
Mensajes: 2.062
Antigüedad: 13 años, 11 meses
Puntos: 310
Respuesta: Activar o desactivar javascript con checkbox?

Este código me funciona:
Código HTML:
Ver original
  1. <select name='se1'>
  2. <input type="checkbox" onclick="this.form['se1'].disabled = !this.checked;" />
  3. </form>
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