Detect if JavaScript is Disabled


Detect if JavaScript is Disabled : It is very simple to detect if javascript is disabled in any browser. You can use <noscript> to detect the javascript. This is executed when javascript is disabled in your browser.


How to Detect if JavaScript is Disabled

You can check if javascript is disabled using the following tag as below –

Detect if JavaScript is Disabled Example:

<noscript>
<p>JavaScript Disabled.</p>
</noscript>

Try it »

You can use the <noscript> tag as above. It will display the message “

JavaScript Disabled.

” if javascript is not enabled in any device’s browser.


Advertisements

Add Comment

📖 Read More