JavaScript Reference/Javascript Properties/appName

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

"appName" Example

    
<html>
<head>
<script language="JavaScript">
    function function1() {
        alert(navigator.appName);
    }
</script>
</head>
<body>
    <input type="button" value="Browser Name" onClick="function1();">
</body>
</html>



"appName" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |clientInformation               navigator                     |
+----------------+--------------------------------------------------------------+



"appName" Syntax and Note

Note:
Read-only property. 
Returns the browser"s complete name.
    
Syntax:
    
objectName.appName