StyleSheet.disabled (Property)

A property that disables a style sheet.


DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:Boolean primitive
JavaScript syntax:-myStyleSheet.disabled

This is a Boolean primitive value that enables and disables the rules in a style sheet are active or not.

The DISABLED="..." HTML tag attribute does not work in all versions of MSIE even though the styleSheet.disabled property does.