deleteMedium method (mediaList)
Removes a media type from the mediaList collection.
Note: The mediaList object and its deleteMedium method are supported in Internet Explorer from version 9.Media types are the target devices for style properties.
You can find the related objects in the Supported by objects section below.
String that specifies the type of the media to remove.
One of the following values:
This method has no return value.
Example HTML code 1:
This example illustrates the use of the deleteMedium method.
Did you find this example helpful?
User Contributed Comments