Share this Page URL
Help

Chapter 25. W3C DOM Reference > MediaList.item( ) - Pg. 828

MediaList.item( ) Availability Synopsis DOM Level 2 StyleSheets String item(unsigned long index); index an array of media types Arguments index The position of the desired media type within the array. Returns 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. MouseEvent Availability DOM Level 2 Events details about a mouse event Inherits from/Overrides Event UIEvent MouseEvent