Click to Rate and Give Feedback
Properties
 selectorText Property
selectorText Property

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

Syntax

[ sSelectorText = ] rule.selectorText

Possible Values

sSelectorTextString 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
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker