You are here: irt.org | FAQ | JavaScript | Java | Q252 [ previous next ]
<script language="JavaScript"><!-- if (navigator.appName == 'Microsoft Internet Explorer' && navigator.appVersionindexOf('MSIE 3')) var java = false; else var java = navigator.javaEnabled(); //--></script>
Now you have a boolean variable that you can use throughout the rest of your page.