HighDots Forums  

checkbox

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss checkbox in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Matteo Gaetani
 
Posts: n/a

Default checkbox - 09-10-2003 , 03:09 AM






Vorrei abilitare/disabilitare un campo select-optio tramite la spuntatura
di un checkbox...come e' possibile realizzare il tutto?
Ho utilizzato un onchange sul input/checkbox e vado a richiamare una
funzione ...ma poi come faccio a disabilitare la SELECT o a riabilitarla?



Reply With Quote
  #2  
Old   
Andrea Azzini
 
Posts: n/a

Default Re: checkbox - 09-10-2003 , 03:21 AM






"Matteo Gaetani" <matteo.gaetani (AT) kinetica (DOT) it> ha scritto nel messaggio
news:S_A7b.307038$Ny5.9562320 (AT) twister2 (DOT) libero.it...
Quote:
Vorrei abilitare/disabilitare un campo select-optio tramite la spuntatura
di un checkbox...come e' possibile realizzare il tutto?
Ho utilizzato un onchange sul input/checkbox e vado a richiamare una
funzione ...ma poi come faccio a disabilitare la SELECT o a riabilitarla?
Esiste la proprietà DISABLED per ogni campo di input.

Penso che si usi così:
nome_select.disabled = false / true

Ciao




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.