I need to check if javascript is enabled or not on websites on every page. What is the best practice to consider apart from html element? How is it done using symfony2 specifically?
Thanks.
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.
This has nothing todo with Symfony2 or any php framework or any server side language.
You just have to do it in your html layout.
The best practice is to always set your page to have javascript disabled and then to enable it.
It is commonly done by using this snippet.