Skip to main content

Posts

Showing posts with the label javascript-disabled

How to make div suddenly show if JavaScript is disabled even if page has already been opened

I know how to display content if JavaScript is disabled, but what I want to do is make a div suddenly appear even if the page is open at the time of JavaScript being disabled. The page is opened. The user goes to browser settings and disables JavaScript. A div shows without refreshing the page. How can I do this? I've seen other sites do this but I looked at their JavaScript files and didn't find anything in it. Thanks in advance!