how about this: WHEN THE USER FIRST LOGS IN: -------------------------------- <cfset Session.isJSEnabled = 'no'> // assume false for now
JAVASCRIPT ON PAGE: ----------------------------------- var myUrl = 'http://myhost.com/someCFMfile.cfm'; // some URL pointing to the page as defined below var ajaxSettings = { type: 'GET', url: myUrl , dataType: "html", data: {isJSenabled: 'yes'} }; jQuery(function () { jQuery.ajax(ajaxSettings); }); FILE ON SERVER (Cold Fusion example): ----------------------------------- <cfset Session.isJSEnabled = URL.isJSEnabled> // now it is YES and you can use that later in generating pages Basically, you fire off a message to the server saying that yes JS is enabled. Update the session, and use that from then on in your code.