JavaScript Reference/Javascript Properties/description

Материал из Web эксперт
Перейти к: навигация, поиск

"description" Example

    
<html>
<body>
<button onclick="alert(navigator.mimeTypes[0].description);">mime</button>
</body>
</html>



"description" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |mimeType                        plugin                        |
+----------------+--------------------------------------------------------------+



"description" Syntax and Note

Note:
Read-only property. 
Sets a descriptive name for the MIME type.
    
Syntax:
    
navigator.objectName[index].description