selectorText Property | Internet Development Index |
Retrieves a string that identifies which elements the corresponding style sheet rule applies to.
Syntax
rule.selectorText [ = sSelectorText ]
Possible Values
sSelectorText String that specifies or receives the element. The property is read/write. The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
A selector can be either a simple selector (such as 'H1'), or a contextual selector (such as 'H1 B') that consists of several simple selectors.
Standards Information
There is no public standard that applies to this property.
Applies To
rule
See Also
rules