'styleSheets' Syntax Parameters and Note : styleSheets « Javascript Collections « JavaScript Reference

'styleSheets' Syntax Parameters and Note

Note:

Returns an array of all the style sheets in the <link> and <style> elements.
    
Syntax:
    
document.styleSheets // returns all style sheets
document.styleSheets(param1, param2) // returns an individual style sheet

Parameters:
    param1   Required; zero-based index or
                       the desired member's id or name attribute.

    param2   Optional; the zero-based index for the result returned 
                       if param1 matches more than one element.

    

      
      








Related examples in the same category

1.'styleSheets' Example
2.'styleSheets' JavaScript properties and JavaScript methods
3.'styleSheets' is applied to