JavaScript Reference/Javascript Properties/platform — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:21, 26 мая 2010
Содержание
"platform" Example
<source lang="javascript">
<html> <body> <script language="JavaScript">
function function1() { alert(navigator.platform); }
</script> <input type="button" value="Platform" onclick="function1();"> </body> </html>
</source>
"platform" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |clientInformation navigator | +----------------+--------------------------------------------------------------+
</source>
"platform" Possible Values
<source lang="javascript">
Possible Values HP-UX, Mac68K, SunOS, Win16, Win32.
</source>
"platform" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the computer"s operating system name.
Syntax:
objectName.platform
</source>