JavaScript: The Definitive Guide

Previous Chapter 21
JavaScript Reference
Next
 

Navigator.javaEnabled() Method

Name

Navigator.javaEnabled() Method---test whether Java is available

Availability

Navigator 3.0

Synopsis

navigator.javaEnabled()

Arguments

None.

Returns

true if, and only if, Java is supported by and enabled on the current browser.

Description

You can use navigator.javaEnabled() to check whether the current browser will be able to display applets, and also whether JavaScript will be able to work with Java objects through the Properties object. If Java is not available, you can use JavaScript to perform some alternative action.

See Also

"Document.applets[]", "Navigator", Properties


Previous Home Next
Navigator.appVersion Book Index Navigator.mimeTypes[]

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell
This HTML Help has been published using the chm2web software.