Check if JavaScript is enabled or not

You can put the below code just below the body tag to check whether JavaScript is turned on or off .

<noscript>
JavaScript is disabled.
<style>div { display:none; }</style>
</noscript>

Leave a Reply

Your email address will not be published. Required fields are marked *