ZVON > References > DOM2 Reference

item (method )

Owning interface and usage:  
MediaList.item(index)

Member of these other interfaces:  
none

Description:  
Returns the indexth in the list. If index is greater than or equal to the number of media in the list, this returns null.

Parameters:  
unsigned index  -  Index into the collection.

Returns:  
DOMString -  The medium at the indexth position in the MediaList, or null if that is not a valid index.

Exceptions:  
none