2 out of 2 rated this helpful - Rate this topic

selectorText property

Retrieves a string that identifies which elements the corresponding style sheet rule applies to.

Syntax

JavaScript

p = object.selectorText

Property values

Type: String

the element.

Remarks

Selector text can contain either a simple selector (such as 'H1'), or a contextual selector (such as 'P EM') that consists of several simple selectors. Compound selectors (such as 'B, STRONG') are stored as separate rules in the collection.

See also

rule
CSSStyleRule Constructor
IHTMLStyleSheetRulesCollection
rules

 

 

Send comments about this topic to Microsoft

Build date: 3/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ