'selectorText' Syntax and Note : selectorText « Javascript Properties « JavaScript Reference

'selectorText' Syntax and Note

Note:

Read and write property. 
Specifies the selector of the style sheet rule. 
The selector is either the element id or the element tag name.
    
Syntax:
    
document.styleSheets[index1].rules[index2].selectorText = value

    

      
      








Related examples in the same category

1.'selectorText' Example
2.'selectorText' is applied to