'media' Syntax and Note : media « Javascript Properties « JavaScript Reference

'media' Syntax and Note

Note:

Read and write property. 
Specifies the output device for the object. 
    
Syntax:
    
document.getElementById("elementID").media = value
document.all.elementID.media = value // IE only
document.styleSheets[index].media = value

    

      
      








Related examples in the same category

1.'media' Example
2.'media' Possible Values
3.'media' is applied to