Java or Not?

Script by: Jesse R. Paulsen

     The script above works whether the viewer's browser is Java-enabled or not. Most scripts like this only display when the browser is enabled, but shows nothing when it isn't. This displays either way. Here's the script:

<form name="JavaTest">
<input type=text size=35 name="Answer" value="Your browser is not JavaScript enabled.">
<script language="JavaScript">
<!--
document.JavaTest.Answer.value = "Your browser is JavaScript enabled!";
//-->
</script>
</form>

Back to the Text-Based Scripts