My Question is if I am using Approach as I am using in my jsfiddle.ent problem is when each time user load a page then that message display for some time and after that it disable.
Which is a Bad user experience something is showing and suddenly hiding.So what I want is that message should display something like when javaScript is disabled properly.
code is working fine But sometimes its bad user experience that msg shows for some fraction of seconds and then disable
Put a CSS rule inserted by JavaScript in the head.
<head>
<!-- Stuff -->
<script>
;(function(){var a=document.createElement("style");a.innerHTML="#enable-js{display:none}",document.head.appendChild(a)})();
</script>
</head>
<body>
<div id="enable-js">YOU SHOULD ENABLE JS</div>
...
```
(which is the same thing I said in your last thread, why did you make a new one for the same question?)