How to check Javascript enabled or not on the page?

Member

beatrice.lesch

by beatrice.lesch , in category: JavaScript , 23 days ago

How to check Javascript enabled or not on the page?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by maryam_feest , 23 days ago

@beatrice.lesch There is <noscript> html tag available to check if browser has turned off Javascript, you can take a look an example below:


1
2
3
4
5
<noscript>
    <p class="no-js">
       You don't have javascript enabled.
    </p>
</noscript>


If browser does not have enabled javascript it will automatically show this message to the user.