Mega Code Archive

 
Categories / JavaScript Tutorial / Document
 

MimeType description

The description property gets a description of the data type described by the MimeType object. <html>     <head>     <title> Using the description property of the MimeType object</title>     </head>     <body>     <script language="javascript">     <!---     for (i=0; i < 3; i++) {        document.write("MimeType description " + i + " : ");        document.writeln(navigator.mimeTypes[i].description);        document.write("<br>");     }     -->     </script>     </body>     </html>