While i agree entirely that it is probably a silly idea to attempt this you can nonetheless do a test to see if JavaScript is enabled on any given page, although this is almost entirely a JavaScript thing. You can have something in your form like:
And then in your CGI program you can check to see if got_js is 0 or 1. All of the other possible solutions are variations on this type of thing. But as Biker has pointed out it is probably a silly thing to do - I have only used this on entry to a site in order to provide an alternative to Javascript navigation thingies that the web-designer insisted on using TT2 to provide alternate content if got_js was false.<form name="my_form" method="POST" action="whatever.cgi"> <input type="hidden" name="got_js" value="0" /> <input type="submit" onClick="document.my_form.got_js.value = 1;" /> </form>
/J\
In reply to Re: Re: Check for JavaScript Enabled
by gellyfish
in thread Check for JavaScript Enabled
by anil_kansal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |