| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
|
|
#5 (permalink) |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,365
|
I'd be interested to know why you want to know if JS is enabled. The majority of times you shouldn't know/care if the user does or not, by ensuring all your JS degrades gracefully. It's more a case of coding while making sure everything still works should JS not be available rather than actually knowing for sure. In answer to your question though, as far as I'm aware testing for JS availability is done purely on the client-side, not the server. |
|
|
|
#6 (permalink) | |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,365
|
Quote:
I know you're just trying to answer his question, but that's a horrible idea |
|
|
|
|
#7 (permalink) |
|
mingin dawg baitch
|
Because? It is possible to do server side detection of javascript through a third party component. http://www.yocasa.org/ |
|
|
|
#9 (permalink) |
|
Deathblow
Join Date: Apr 2006
Location: Norway
Posts: 354
|
I want it for example if javascript is not activated, the function wich was supoced to be there, will be replaced by something else wich does not require Javasxript. Thanks paulanthony I'll check out that site. |
|
![]() |