StyleSheetList.item( ) |
index an array of style sheets |
Availability
DOM Level 2 StyleSheets
Synopsis
StyleSheet item(unsigned long index);
Arguments
- index
-
The position of the desired style sheet within the array.
Returns
The StyleSheet object at the specified position within the array, or
null if index is
negative or is greater than or equal to length.
Note that in JavaScript, it is usually simpler to treat a
StyleSheetList object as an array and index it using square-bracket
array notation instead of calling this method.
|