IIS ASP - is there a way to see if javascript is enabled?

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > July 2005 > is there a way to see if javascript is enabled?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author is there a way to see if javascript is enabled?
wolfing1@yahoo.com

2005-07-22, 5:52 pm

Say, I would like to kinda have things happen if javascript is enabled
in the browser, or if it isn't then do some other things. For example,
if I know javascript is enabled, I could bring a popup window, etc. but
if it isn't, then I could just provide a link instead.
How would I go doing that in ASP?

Aaron Bertrand [SQL Server MVP]

2005-07-22, 5:52 pm

ASP runs on the server, and has no idea what client-side JavaScript is. So,
you have to test for the presence of JS on the client side, then *tell* ASP
about it.

http://www.aspfaq.com/2058



<wolfing1@yahoo.com> wrote in message
news:1122043935.395710.183730@g44g2000cwa.googlegroups.com...
> Say, I would like to kinda have things happen if javascript is enabled
> in the browser, or if it isn't then do some other things. For example,
> if I know javascript is enabled, I could bring a popup window, etc. but
> if it isn't, then I could just provide a link instead.
> How would I go doing that in ASP?
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com