check if javascript is enabled code example
Example 1: check if javascript is enabled
<!-- From https://www.enable-javascript.com/ -->
<noscript>
For full functionality of this site it is necessary to enable JavaScript.
Here are the <a href="https://www.enable-javascript.com/">
instructions how to enable JavaScript in your web browser</a>.
</noscript>
Example 2: check if js is enabled
<script>
document.write("Hello JavaScript!")
</script>
<noscript>
<style type="text/css">
.pagecontainer {display:none;}
</style>
<div class="noscriptmsg">
You don't have javascript enabled. Good luck with that.
</div>
</noscript>