Represents a collection of all supported MIME types.
Internet Explorer supports the mimeTypes collection but it is always empty and there is no way to get the supported MIME types in this the browser.
Properties that reference the object:
The base interface, through which you can add new functionalities to the mimeTypes collection, is the MimeTypeArray interface.
Returns an integer that specifies the number of objects in the current collection.
This property is read-only.
Returns an object from the current collection by name or index.
Returns an mimeType object.
Returns an object from the current collection by index.
Returns the mimeType object at the specified position.
|namedItem (name)||Returns an object from the current collection by name.|
Example HTML code 1:
This example illustrates the use of the mimeTypes collection:
Did you find this example helpful?
User Contributed Comments