HTML DOM userLanguage Property
Complete Navigator Object Reference
Definition and Usage
The userLanguage property returns the operating system's natural language settings.
Syntax
Example
<html>
<body>
<script type="text/javascript">
document.write("<p>UserLanguage: ")
document.write(navigator.userLanguage + "</p>")
</script>
</body>
</html>
|
Try-It-Yourself Demos
Detect the visitor's browser and browser version
More details about the visitor's browser
All details about the visitor's browser
Alert user, depending on browser
Complete Navigator Object Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|