JavaScript Reference/Javascript Properties/systemLanguage
Версия от 18:30, 25 мая 2010; (обсуждение)
"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