How do you check if Javascript is enabled?

Does anyone have an example of checking if Javascript is enabled

Answer this question

How do you check if Javascript is enabled?

  • n0n4m3

    Moving to Internet Explorer forum.

    Thanks.


  • Lucas Condé

    There's probably loads of different ways you can "check", but something like this:-

    <a
    href="noscript.htm" onclick=event.returnValue=false;DoSomething();return false;">Action</a>

    could be used to do an action or show a different page if javascript isn't enabled.


  • arashikage

    <noscript>
    <meta http-equiv="refresh" content="0;url=need_javascript.html" />
    </noscript

  • Tomas L

    Does anyone have any ideas
  • How do you check if Javascript is enabled?