This is something you must do on the client (browser) and is not information available on the server. So, putting it in Application.cfc isn't at straightforward as you think. If you google "test javascript enabled" you'll get a bunch of links on some client side code to run the test.
BrowserHawk also has this capability, though I think it's overkill if this is the only thing you're trying to detect. -Cameron On Mon, Mar 26, 2012 at 12:59 PM, Robert Rhodes <rrhode...@gmail.com> wrote: > > Hello again. > > I have a site that loads all the content in ajax. I also have a version of > the site that does not use ajax. > > I am looking for some code I can put in the application.cfm to test to see > if the visitor's browser supports javascipt or not, so I can load the right > version of the site. > > Any ideas? > > Thanks. > > --RR > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350546 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm