Javascript Reference
Categories: MediaList

javascript MediaList mediaText

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

Read-only  

Returns the entire string of comma-delimited media names.

 
Example
 
var allMedia = document.styleSheets[0].media.mediaText;
 
Value

String.


Powered by Linode.