Javascript redirect when client-script is turned off

G

Greggory

Hi all,

when a client at my "C#/asp.net - page" has its javascript turned off,
I want to redirect him to another page. This must be done by a
javascript.

Can I somehow autopost a page to itself, and let the javascript add
some post-variable to tell if it has been working or not ?

Best Regards
/Greggory
 
L

Lee

Greggory said:
Hi all,

when a client at my "C#/asp.net - page" has its javascript turned off,
I want to redirect him to another page. This must be done by a
javascript.

You seem to be confused about what "turned off" means.
If Javascript is turned off, anything that must be done by Javascript
is simply not going to happen.

Look at the problem from the other direction. If Javascript is turned
*on* redirect them to another page. If it is turned off, they will
stay on the original page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top