Script for Non-JavaScript Enabled Browsers

If your page is loaded by a non-javascript enabled browser, your script will appear on the user's screen. You can prevent that from happening by adding <!-- after your script tag, but before your code, and // --> after your code but before you end your script.

<script language="javascript">
<!--
function something(){
}
// -->
</script>

In addition, you can display a message to the user if they are using a non-javascript enabled browser. You could even but HTML tags to link to a different version of a page, or anything else you wish displayed.

<script language="javascript">
<!--> Your browser isn't JavaScript
<!--> enabled. Please click
<!--> <a href="nonjspage.html">here</a>
<!--> to go to the non-JavaScript page.

<!--
function something(){
}
// -->
</script>
<noscript>
You also have the option of using the noscript tags. The problem with this is Netscape 2.0 always displays the contents of the noscript tag.
</noscript>