javascript MediaList length
@March 15, 2008, 1:22 a.m.
length | Firefox/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. |
Permanent URL:
http://javascript.gakaa.com/medialist-length.aspx
Powered by Linode.