Javascript Reference
Categories: document

javascript document media

@March 15, 2008, 1:22 a.m.
media Firefox/Netscape/NN n/a IE 5.5(Win) Chrome/Safari/DOM n/a

Read/Write

Returns a string indicating the output medium for which the content is formatted. The property returns an empty string as of IE 6, and throws a security error if you assign accepted string values (all, print, or screen) to it. Avoid using this property with the document object.


Powered by Linode.