You could also use JS to set a hidden field value when your first page loads. Then any subsequent pages can check that value. You might even get fancy with some cfincludes and have one set a value, and the next check it. I'm not sure if that would work or not, but it may be a way to have your first page find out if JS is enabled or not.
> -----Original Message----- > From: Ryan Guill [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 29, 2005 8:18 AM > To: CF-Talk > Subject: Re: Know with cf if Javascript is enabled? > > Thanks, ill look into that. > > > On 11/29/05, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > > You could do a JS redirect to a CF page... if the user gets > there, they have > > JS, else they don't. > > > > You could also use js httprequest to 'hit' a page behind > the scene that > > would set some session information to let you know rather > or not they have > > JS on. (if the httprequest works, they have JS, else they don't) > > > > > > ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. > > Bobby Hartsfield > > http://acoderslife.com > > -----Original Message----- > > From: Ryan Guill [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, November 29, 2005 9:55 AM > > To: CF-Talk > > Subject: Know with cf if Javascript is enabled? > > > > Hey guys, > > > > Does anyone know a way that I can let coldfusion know if > javascript is > > enabled in a browser or not? I would like to set a session variable > > that tells me this so I can dynamically show a message if it is not > > enabled. I would like to be able to do this without the user having > > to do anything. We are automatically logging people in using > > ntauthentication on this site, so I would like it to check > during that > > process and set a cf variable. > > > > I need it to work primarily in IE 6+ but it would be nice > if it worked > > in FF as well. My google searches so far this morning > haven't come up > > with anything that worked. > > > > There is the <noscript> tag, but it isn't evaluated until > the browser > > gets the page and so there is no way for coldfusion to evaluate it. > > Plus it doesnt seem to work in firefox or IE either anyway. > Any ideas? > > -- > > Ryan Guill > > BlueEyesDevelopment > > [EMAIL PROTECTED] > > www.ryanguill.com > > (270) 217.2399 > > got google talk? Chat me at [EMAIL PROTECTED] > > > > The Coldfusion Open Application Library - COAL - > http://coal.ryanguill.com > > > > www.ryanguill.com/ > > The Roman Empire: www.ryanguill.com/blog/ > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225562 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

