How to hide JavaScript code from non-JavaScript enabled browsers
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
<!--
... your JavaScript code goes here ...
... this code will be hidden from ...
... non-JavaScript enabled browsers ...
//-->
</SCRIPT>
Listing #1 : JavaScript code. Download
hidejs.htm (0.27 KB).
Applicable Keywords : HTML, Internet Explorer, Explorer 3.x, Explorer 4.x, Explorer 5.x, Internet, JavaScript, JavaScript 1.0, JavaScript 1.1, JavaScript 1.2, Netscape Navigator, Navigator 2.x, Navigator 3.x, Communicator 4.x, Netscape 6.x, World Wide Web