I am developing an .aspx page which will ultimately launch an applet after the user clicks on a button (I am using the <applet>
tag). So, I would like to detect if java is enabled/installed on the user's browser.
I am using navigator.javaEnabled() method. However, even though this is working fine on IE7, it is returning inconsistent results on Firefox 3.0.12 (don't know about different browsers), sometimes saying that java is enabled (which it is), and then after launching the applet and coming back out of the applet to this page again, it will report false. If I close firefox and return to the applet launching page, navigator.javaEnabled() will report true again (correctly).
Is there anything that is determining this inconsistent behaviour or is navigator.javaEnabled() not the best way to do the java applet check?
Thanks in advance.