How to know and handle disabled javascript in browser

by Rekha 2009-04-06 10:00:06

As you know, <script></script> tag is used for javaScript. Same way there is <noscript></noscript> tag which gets in action when the Javascript is disabled in browser.

we must need JavaScript in some pages and we never want to process that page.To handle this you can use the <noscript> tag and redirect the users to the home page.

<noscript>
<META HTTP-EQUIV="Refresh" CONTENT="0;URL=index.html">
</noscript>


If javascript is disabled in that page, the browser gets redirected to index.html to show some warning message.

Tagged in:

1653
like
0
dislike
0
mail
flag

You must LOGIN to add comments