jquery - Display "Enable JavaScript" message only when JavaScript is disabled -


I want to display a message to the user who is "Enable Javascript" in this case that Javascript is inactive. I want that message, and nothing else can be displayed when javascript is disabled.

To do this, I can put the message in the dom and hide all the other elements in the display: none, then in javascript I set the message to show hidden and show all other elements I can do

But I get flicker with this approach.

How can I reduce this error message?

Looking for you.

Comments