0 out of 1 rated this helpful - Rate this topic

clientInformation object

[This documentation is preliminary and is subject to change.]

Contains information about the browser.

Contains information about the WWAHost.exe.

Standards information

There are no standards that apply here.

Examples

This example shows how to determine whether the client can run Java applets.


<SCRIPT LANGUAGE="JScript">
if (window.clientInformation.javaEnabled() == true )
    // Java is enabled; applets can run.
</SCRIPT>

This example shows how to determine whether the userAgent of the browser contains "MSIE". If it does, the browser is Internet Explorer.


<SCRIPT LANGUAGE="JScript">
if (window.clientInformation.userAgent.indexOf( "MSIE " ) > 0)
    // The browser is Microsoft Internet Explorer.
</SCRIPT>

 

 

Build date: 2/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ