dcsimg

How do we know whether the JavaScript is enabled or disabled in the client's browser?

Alessandro A. Garbagnati

Just use the <NOSCRIPT> tag:

<script>
  alert('Javascript is enabled');
</script>
<noscript>
  this browser doesn't support scripting or has Javascript disabled
</noscript>