TOC PREV NEXT INDEX

domref



window.navigator.javaEnabled()


This method indicates whether the current browser is Java-enabled or not.

Syntax

bool = window.navigator.javaEnabled
 

Parameters

bool is a boolean value.

Example

if ( window.navigator.javaEnabled() ) {
 
   // browser has java
 
}
 

Notes

The return value for this method indicates whether the preference that controls Java is on or off-not whether the browser offers Java support in general.

Specification

DOM Level 0. Not part of specification.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX