Detect if javascript is enabled?

I can’t find what I am looking for. My searches are mainly coming up with browser detection scripts.

I need to be able to adjust certain code if the visitor doesn’t have js enabled. I was under the impression the ‘noscript’ tag only ran when js was disabled, but that doesn’t seem to be the case.

I used:


<noscript>

<% 
	if NOT boolPrintPage = "t" Then
	response.Redirect("form_index.asp?print=t") 
	end if
%>

</noscript>

Anyone done this before? I’d like to not have to create a separate page for non-js users, so variables in the querystring would be the best outcome i think.

~ Lacuna :love: