February 22, 2013

How to identify if javascript is diabled by browser

Question by Umesh

I was puzzled with a question. Many browsers like Internet Explorer allows to disable the javascript.

How do I check through whether the user’s Browser has disabled javascript or not?

Answer by Starx

In addition to pdeurstler’s answer, there is an old school way.

It is tad old school but, <noscript>...</noscript> detects JavaScript being disabled and executes the embed HTML.

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!