How to check JavaScript disable in browser?

It is very easy to detect whether JavaScript is disable on browser or not?

You just need to put <noscript> tag in your HTML body. For example,

<noscript>
<div>Javascript is disable on your browser</div>
</noscript>

If JavaScript is disable then above HTML text will be print on html document.

 

 

Advertisements

#javascript-disable-checking