Programming C# C++ (7) Delphi (52) Java (108) JavaScript (31) Document (8) Events (24) ExtJS (57) Strings (117) perl (441) php (884) VBScript (131) Visual Basic (3539) ![]() |
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.
Content-type: text/html
Comments:
|