Javascript Reference
Categories: cssRules

javascript cssRules item( )

@April 11, 2008, 9:45 p.m.
item( ) Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 2  

item(index)

  

Returns a style sheet rule object corresponding to the rule matching the index value in source code order.

 
Parameters
 
index

A zero-based integer corresponding to the specified item in source code order (nested within the current styleSheet object).

 
Returned Value

Reference to a cssRule or rule object, depending on the object model. If there are no matches to the parameters, the returned value is null.


Powered by Linode.