javascript cssRule selectorText

selectorTextNN 6 IE 5 DOM 2  

Read/Write  

Indicates the selector portion of the style sheet rule. Although this property is read/write (except in IE 5/Mac), changes do not influence the object or rendering.

 
Example
 
document.styleSheets[0].cssRules[2].selectorText = "td.leftHeaders";
 
Value

String.

 
Default

None.

 
W3C DOM CSSRule Types
 
CSSPageRule
CSSStyleRule

431,Nickname,Homepage or email,Comments here,Add comment