| Programming C# C++ (7) Delphi (604) Java (8) JavaScript (55) Document (8) Events (8) Strings (3) perl (40) php (12) VBScript (1) Visual Basic (1) |
Detect that Javascript is disabled and reload the page then
Question: How can I detect that Javascript is disabled and then have the page reload or redirect?Answer: You cannot detect this in JavaScript itself but you can use the <NOSCRIPT> section in the <HEAD> section of your page:In the example it will redirect after 2 seconds to another URL (no_script_version.htm). Most browsers support the REFRESH option.
Comments:
|