ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Plug-In Detection with JavaScript
Subject:   Detect Java?
Date:   2006-11-16 22:06:23
From:   anjuprabha
Response to: Detect Java?

This code will work.
var oPlugin = new Object();
oPlugin.JavaDetected = false;


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