-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

0

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.