My application depends on JavaScript, I want to check the client browser’s JavaScript is enabled or not and raise an alert message if its turned off.
My application depends on JavaScript, I want to check the client browser’s JavaScript is
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s actually a
<noscript>tag that you can use to display the content contained inside when javascript is not available.Something like:
The div just won’t show if they have javascript, and it’s pretty easy to tell if javascript IS working, no matter whether you need it to ping your server back to let it know, or use it to perform some more advanced functions.