November 2001
Intermediate to advanced
936 pages
68h 43m
English
MediaList.item( ) — index an array of media types
DOM Level 2 StyleSheets
String item(unsigned long index);index
The position of the desired media type within the array.
The media type (a string) at the specified position within the
MediaList, 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 MediaList object as an array and index it
using square-bracket array notation instead of calling this
method.