-2

how to print a message at opening of the site that "please enable JavaScript in your browser" ? and if msg is disabled than this msg should be print

hardys
  • 1

1 Answers1

4

You can put this on your page:

<noscript><p>Please enable Javascript in your browser</p></noscript>

And, it will display only if javascript is disabled.

See here for reference.

jfriend00
  • 683,504
  • 96
  • 985
  • 979