<!DOCTYPE html> <html> <body> <p id="demo">Click the button to determine whether your browser has Java enabled.</p> <button onclick="myFunction()">click mee </button> <script> function myFunction() { var x = "Java Enabled: " + navigator.javaEnabled(); document.getElementById("demo").innerHTML=x; } </script> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)