JavaScript Reference/Javascript Properties/userLanguage
Версия от 18:30, 25 мая 2010; (обсуждение)
"userLanguage" Example
<html>
<body>
<button onclick="alert(navigator.userLanguage);">User Language</button>
</body>
</html>
"userLanguage" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |clientInformation navigator |
+----------------+--------------------------------------------------------------+
"userLanguage" Syntax and Note
Note:
Read-only property.
Returns the system"s language.
Syntax:
objectName.userLanguage