MimeType.suffixes : MimeType : Document JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Document » MimeType »

 

MimeType.suffixes







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>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Document
» MimeType