I agree, sometimes i don't read all of the lines but i totaly disagree with you that the most logical way is cookies. But i'm not starting a discussion as the TS already has his answer in differend ways.
Well I would recommend an advanced system of ajax for best confirmation but if you want to keep it simple the following script will do the job. $v=get_browser(null,true); $javascript=$v['javascript']; unset($v); if ($javascript) { echo 'Javascript is enabled'; } else { echo 'Javascript is disabled'; }
I'm just going to add a message in a <noscript> tag-'Many functions of this site require JavaScript.' Thanks for all of the feedback. -Tony
You're still stressing over this? Show me one visitor on your web site with JavaScript not enabled and I will show you a visitor that can't use 95% of the web sites out there... Don't spend time focusing on little minor problems that you may never encounter. Appeal to the masses NOT the possible minority of the minorities.
Oh and ps. one of the stupidest things I've heard was to use Ajax (which is Asynchronous JavaScript and XML) to detect if JavaScript is enabled. Ajax IS a method of how you use JAVASCRIPT. Which means you use...JAVASCRIPT.