Javascript Reference
Categories: mimeType

javascript mimeType type

@March 15, 2008, 1:22 a.m.
typeFirefox/Netscape/NN 3 IE 5(Mac) Chrome/Safari/DOM n/a  

Read-only  

Returns a string version of the MIME type associated with the mimeType object. You could, for example, loop through all the mimeType objects in search of the one that matches a specific MIME type (application/x-midi) and examine that mimeType object further to see whether it is currently supported and enabled.

 
Example
 
var MType = navigator.mimeTypes[3].type;
 
Value

String.

 
Default

None.


Powered by Linode.