Detecting Javascript In Coldfusion And Other Languages
Submitted by jacob on Wed, 10/25/2006 - 4:39amI had been struggling for a while trying to find a way to detect JavaScript capability in my applications, then adjusting the application accordingly. My employer requires accessibility to all websites and web applications with JavaScript disabled. This can be done using the noscript tags with a meta refresh, but this is very, very bad form.
Using ColdFusion, I was able to solve this problem. I believe this can be done in any language which allows the setting and manipulation of cookies. Here is the code:
<cfset jscript = 0>