StyleSheet.readOnly (Property)

The read-only property of a style sheet.


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

In the same way that you can lock a rule and make it read-only, you can also use this property to lock an entire style sheet to prevent it from being changed in the browser by JavaScript.

See also:rule.readOnly

Property attributes: