rule.selectorText (Property)

The selector text for a rule.


DOM level - 2
JavaScript - 1.5
JScript - 3.0
Internet Explorer - 4.0
Netscape - 6.0
Property/method value type:String primitive
JavaScript syntax:-myRule.selectorText

This is the part of the CSS style definition text that associates the rule with a document element. For example, a rule that applies to the BODY of a document has the value "BODY" stored in its selectorText property.

See also:SelectorArray object

Property attributes: