(URGENT) Detect JavaScript and JavaVM

java , javascript United States
  • 17 years ago

    Hi,


    my father needs to know how to detect JavaVM is installed on the system via JavaScript (theres a difference!) is this possible.


    For instance, if the user x has disabled java how can we tell via JavaScript?


    thanks!

  • 17 years ago

    if (navigator.javaEnabled() != true)
      { alert("you have disabled java"); }
    else
      { alert("you are cool."); }


    hope that helps

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Perl - The only language that looks the same before and after RSA encryption.” - Keith Bostic