Javascript redirect when client-script is turned off

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Greggory

    Javascript redirect when client-script is turned off

    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
  • Lee

    #2
    Re: Javascript redirect when client-script is turned off

    Greggory said:[color=blue]
    >
    >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.[/color]

    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.

    Comment

    Working...