How about just doing something like:

<noscript>
     <cfset js = "off">
</noscript>

then...

<cfif isdefined('js') and js eq "off">

etc...

I haven't tested this, but all js capable browsers are supposed to understand
the noscript tag.

Phil





Brian Bessemer <[EMAIL PROTECTED]> on 05/18/2001 02:38:11 PM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:    (bcc: Philip Meadows/TX/ONE)

Subject:  Detecting JavaScript




Anyone know if there's a way to detect if JavaScript is turned on in a
browser using ColdFusion

brian bessemer
specialist, web technologies
214.224.1164
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

imc2.com <http://www.imc2.com/>

7505 john carpenter frwy
dallas, texas 75247
214.224.1000
fax/214.224.1100


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org







-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to