Javascript Reference
Categories: STYLE

javascript STYLE item( )

@March 15, 2008, 1:22 a.m.
item( )Firefox/Netscape/NN 6 IE 5(Mac) Chrome/Safari/DOM 2  

item(index)

  

Returns the attribute name of the inline CSS attribute/value pair corresponding to the integer index value in source code order.

 
Parameters
 
  • Zero-based integer corresponding to the specified inline CSS attribute/value pair in source code order.
 
Returned Value

String. IE for Macintosh returns name in all-uppercase characters, while Netscape 6 returns all-lowercase characters.


Powered by Linode.