X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY ANGULAR XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

Navigator javaEnabled() Method

Navigator Object Reference Navigator Object

Example

Determine whether your browser has Java enabled:

var x = "Java Enabled: " + navigator.javaEnabled();

The result of x will be:


Try it yourself »


Definition and Usage

The javaEnabled() method returns a Boolean value that specifies whether the browser has Java enabled.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The javaEnabled() method is supported in all major browsers.


Syntax

navigator.javaEnabled()

Parameters

None.

Return Value

Type Description
Boolean Specifies whether the browser has Java enabled: "true" if enabled, "false" if not.


Navigator Object Reference Navigator Object

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook