JavaScript Reference/Javascript Properties/systemLanguage

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

"systemLanguage" Example

    
<html>
<body>
<input type="button" 
       value="Check System Language"
       onclick="alert("Your system language code is: \n"+navigator.systemLanguage);">
</body>
</html>



"systemLanguage" is applied to

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



"systemLanguage" Syntax and Note

Note:
Read-only property. 
Returns the system"s default language.
    
Syntax:
    
objectName.systemLanguage