Javascript Reference
Categories: MediaList

javascript MediaList length

@March 15, 2008, 1:22 a.m.
lengthFirefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM 2  

Read-only  

Returns the number of items in the collection.

 
Example
 
var howMany = document.styleSheets[0].media.length;
 
Value

Integer.


Powered by Linode.