platform

HTML (DHTML)

platform Property

Internet Development Index

Retrieves the name of the user's operating system.

Syntax

[ sPlatform = ] object.platform

Possible Values

sPlatformString that receives one of the following values.
HP-UXHP Unix-based computers.
MacPPCMacintosh PowerPC-based computers.
Mac68KMacintosh 68K-based computers.
SunOSSolaris-based computers.
Win32Microsoft® Windows® 32-bit platform.
Win16Windows 16-bit platform.
WinCEWindows CE platform.

The property is read-only. The property has no default value.

Standards Information

There is no public standard that applies to this property.

Applies To

clientInformation, navigator

See Also

userAgent