home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.


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