Helping ordinary people create extraordinary websites!
   

How to enable and check if JavaScript enabled?

Sunday, 15th November 2009
by Analucia

How can I check if a website visitor has JavaScript enabled and also how do I enable JavaScript?





Vader
Hi Analucia,

To enable JavaScript in Internet Expolorer
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
1. Go to "Tools"
2. Click on "Internet Options"
3. Click on "Security"
4. Click on "Custom Level"
5. Under Settings -> Scripting you will see the "Active Scripting" option, check "Enabled"

To enable JavaScript in Mozilla Firefox
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Go to Tools
- Click on Content
- Check the checkbox beside "Enable JavaScript"

To enable JavaScript in Safari
=-=-=-=-=-=-=-=-=-=-=-=-=
1. Click on the "gear icon" in the upper right of the browser
2. Click on "Preferences" or click Ctrl+,
3. Click the "Security" tab
4. Check the checkbox beside "Enable JavaScript"
5. Close the window.

To detect if JavaScript is enabled you can use the code below.

<script type="text/javascript">
document.write('Javascript is enabled');
</script>

<noscript>
Javascript is disabled
</noscript>

Vader.


Sunday, 15th November 2009
Votes:
21
7

More JavaScript Help:
» How to add a floating sidebar like on the Mashable website?
» How to use JavaScript unload event?
» What is the best method of form validation with JavaScript?
» JavaScript History Back
» Word Count in JavaScript, how to count the number of words?
» How to set the active accordion on top using Ext JS Javascript library?
» Can you please tell me how to put different validations on a textfield.???
» JavaScript Print