HTML DOM javaEnabled() Method
Complete Navigator Object Reference
Definition and Usage
The javaEnabled() method returns a Boolean value that specifies whether the browser has Java
enabled.
Syntax
Example
The following example returns whether the browser has Java enabled:
<html>
<body>
<script type="text/javascript">
alert(navigator.javaEnabled())
</script>
</body>
</html>
|
Output:
Try-It-Yourself Demos
Use the
javaEnabled() method of the navigator object
Complete Navigator Object Reference
|