Re: Detecting if JavaScript is enabled
| From: | Richard Lynch | Date: | Tue, 27 Feb 2001 22:45:14 +0000 |
| Subject: | Re: Detecting if JavaScript is enabled | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41899@lists.php.net to get a copy of this message | ||
> Who can give me a PHP-Script to
> detect if JavaScript is enabled?
>
> It should work with both, IE and NN!
--- yoursite.com/nojavascript.htm ----
<HTML>
<HEAD>
<SCRIPT LANGUAGE=JavaScript>
document.location="yoursite.com/javascript.htm";
</SCRIPT>
</HEAD>
<BODY>
Non-javascript content here.
</BODY>
</HTML>