| Article: |
Plug-In Detection with JavaScript | |
| Subject: | Detect Java? | |
| Date: | 2002-01-10 13:34:42 | |
| From: | mercurius_1 | |
|
Could someone please tell me how to update this code so that it includes a function to detect the Java plug-in?? I'm not interested in whether the browser can support Java (I see a lot of code examples based upon this notion). I need to know whether they actually have the plug-in....I'm not a Javascripter, so I would really appreciate any help. Thank you. |
||
Showing messages 1 through 2 of 2.





var oPlugin = new Object();
oPlugin.JavaDetected = false;
function fncDetectJava() {
if (navigator.javaEnabled())
oPlugin.JavaDetected = true;
else
oPlugin.JavaDetected = false;
}
regards
anju