rule.readOnly (Property)

Some rules can be set read-only to prevent their styles from being changed.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Boolean primitive
JavaScript syntax:IEmyRule.readOnly

You may want to define a style in a style sheet and lock it down to prevent the JavaScript code from altering its appearance. Setting this property to true will lock the rule and prevent it from being changed.

See also:StyleSheet.readOnly

Property attributes: