readOnly property

Retrieves whether the rule or style sheet is defined on the document or is imported.

Syntax

JavaScript

p = object.readOnly

Property values

Type: Boolean

false (false)

Style sheet is defined in the document or imported.

true (true)

Style sheet is linked to the document.

Standards information

Remarks

You cannot modify style sheets obtained through a link object or the @import rule while the designMode property is enabled. For more information, see Introduction to MSHTML Editing.

See also

rule
styleSheet

 

 

Show:
© 2014 Microsoft