Check whether Javascript is enabled or not using js : Tech Guru India Check whether Javascript is enabled or not using js :: Tech Guru India

Check whether Javascript is enabled or not using js




Sometime it may happen that your developed site or web application wont work without the support of javascript.

Some users keep their browsers javascript disabled for some realson, and your web application wont work on those system.

Now for a good developer it becomes necessary that you check whether the client pc is javascript enabled or disabled.

There are two ways to check whether the js is disable

First, Simply throw an alert box on page load event. if It shows alertbox, your client pc is javascript enabled.

But this wont help much, try this. Use <noscript> tag. This will be shown when the javascript it disable in browser setting. Write proper instruction in between the noscript tag and it will be shown to users that they are running javascript disabled browser and need to enable javascript.


We will send you more information, Enter your email address:


Related Posts with Thumbnails

Share/Save/Bookmark

0 comments:

Post a Comment