Guarda se riesci ad adattare al tuo contesto questo esempio:

- http://www.pierofix.it/temp/dom/form...disabilita.htm