Method HTMLFieldSetElement.disable
Disable or enable all input elements in a fieldset.
-
Syntax
undefined HTMLFieldSetElement.disable(Boolean disable )
This methoind will disable or enable all input elements in a fieldset. -
Parameters
Boolean disable- If true all elements are disabled; otherwise they are enabled
-
Return value
No explicit return value. Default value of
undefinedis returned. -
Examples
- To disable all the input elements of the fieldset with id f1
document.getElementById('f1').disable(true);
- Resources Use JDC to enable HTMLElement in IE6.0+
-
Download
Source
Unless otherwise noted all code in the JSLab Standard Library is licensed as GPLv3. See http://www.gnu.org/licenses/gpl.html for the entire license.
