MimeType.suffixes : MimeType « Document « JavaScript Tutorial






The suffixes property obtains a string listing the possible file suffixes or filename extensions for the MIME type.

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








14.19.MimeType
14.19.1.MimeType
14.19.2.MimeType.description
14.19.3.MimeType.enabledPlugin
14.19.4.MimeType.suffixes
14.19.5.MimeType.type