How to use Navigator javaEnabled in Javascript

In this article I have described about javaEnabled() method in Javascript
  • 2416

Navigator javaEnabled() method in Javascript

  • To check the browser capability like java enable browser we use javaenabled() method of navigator object.
  • It return boolean value i.e. true or false to check javaenable capability browser.

Browser support

Following are the main browsers which support the Constructor Property of array object

  • Internet Explorer.
  • Firefox.
  • Opera.
  • Google Chrome.
  • Safari.


The javaEnabled() method of navigator object has following syntax


Lets take an example

<!DOCTYPE html>


<body style = "background-color:yellow">

<script type="text/javascript">

    document.write("Browser Java enabled :- " + navigator.javaEnabled());






Further Readings

You may also want to read these related articles :here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here


More Articles

© 2020 DotNetHeaven. All rights reserved.