clientInformationclientInformation*
*



Contents  *



Index  *Topic Contents
*Previous Topic: clientHeight
*Next Topic: clientLeft

clientInformation

Description

Returns the navigator object. You use this to retrieve information about the version and name of the browser, as well as whether certain features are enabled.

Syntax

object.clientInformation

Examples

The following JScript example checks whether the user agent name of the browser contains "MSIE". If it does, the browser is Microsoft® Internet Explorer.

if (window.clientInformation.userAgent.indexOf( "MSIE " ) > 0)
    // is Microsoft Internet Explorer

The following JScript example checks whether Java™ applets can be run.

if (window.clientInformation.javaEnabled() == true )
    // Java is enabled, applets can run

Applies To

window


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.