Using Prototype, the Form.Element.disable is said to be disabled the form as a whole. Is there any way to disable only one single input element at a time?
And when I try this:
$$('#signup .button')[0].disbled = false; ## didn't work
Updated
Sorry for all. Actually it works. But I have defined a disabled style
in a stylesheet and the style doesn’t got applied. Is there any workaround?
You want the disable method.
http://prototypejs.org/doc/latest/dom/Form/Element/disable/index.html
For example: