JavaScript Reference/Javascript Properties/platform
Содержание
"platform" Example
<html>
<body>
<script language="JavaScript">
function function1() {
alert(navigator.platform);
}
</script>
<input type="button" value="Platform" onclick="function1();">
</body>
</html>
"platform" is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |clientInformation navigator |
+----------------+--------------------------------------------------------------+
"platform" Possible Values
Possible Values
HP-UX,
Mac68K,
SunOS,
Win16,
Win32.
"platform" Syntax and Note
Note:
Read-only property.
Returns the computer"s operating system name.
Syntax:
objectName.platform