Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

mediaText property

Sets or retrieves the parsable textual representation of the current media list.

Document Object Model (DOM) Level 2 Style Specification, Section 1.2Internet Explorer 9

 

Syntax

JavaScript

p = object.mediaText

 

Property values

Type: String

the parsable textual representation of the media list. This is a comma-separated list of media.

Standards information

See also

CSSMediaList
Reference
appendMedium
deleteMedium
item
length

 

 

Show:
© 2015 Microsoft