All Tech Tips |
||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
clientInformation ObjectContains information about the browser. Members Table
Remarks This object is available in script as of Microsoft Internet Explorer 4.0. Examples 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>This example shows how to determine whether the browser can run Java applets. <SCRIPT LANGUAGE="JScript">
if (window.clientInformation.javaEnabled() == true )
// Java is enabled; applets can run.
</SCRIPT>
Standards Information There is no public standard that applies to this object. Applies To
|
||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||
|
Copyright © 2006 alltechtips.com. All rights reserved.
This website and the materials and information you find on this website are provided "as is", without warranty of any kind, either express or implied, including without limitation any warranty for information, services, or products provided through or in connection with the service and any implied warranties of merchantability, fitness for a particular purpose, expectation of privacy or non-infringement.
|
||||||||||||||||||||||||||||||||||||||||