navigator.javaEnabled() : javaEnabled « Navigator « JavaScript Tutorial






<HTML>
<BODY>
<SCRIPT language="JavaScript">
<!--

var hasJava= navigator.javaEnabled()
if (hasJava==true)
 window.alert("You have Java enabled");
else
 window.alert("No Java?");


//-->
</SCRIPT>
</BODY>

</HTML>








17.3.javaEnabled
17.3.1.navigator.javaEnabled()