Instructions on turning on the display of JavaScript errors
-
For Internet Explorer (IE), you can turn on the display of JavaScript errors
by following these steps:
- Click the "Tools" menu item.
- Click "Internet Options..."
- Click the "Advanced" tab.
- About 5 or 6 items down (depending on your version of IE) in the "Browsing" section is an item with this text: Display a notification about every script error. Make sure that checkbox is checked.
- Click the "OK" button.
Even after you turn on error messages and enable script debugging, error messages may still not display if your Operating System and your browser are using strong caching. (This strong caching happens a lot with Windows XP, Vista, or 7 and with IE 7 or above.) You can use Ctrl + F5 to force IE to reload/refresh the page if you experience this severe caching. In a worst-case situation, you might need to close the browser and re-open it, to get around the caching.
-
For Firefox, you can see JavaScript errors
by following these steps:
- Click the "Tools" menu item.
- Click "Error Console".
You can leave this Error Console open while you debug your page's JavaScript code. But you will need to make sure you come back to this Error Console often to check for errors.
-
For Chrome, you can see JavaScript errors
by following these steps:
- Click the "Customize and control Google Chrome" icon in the top right corner of the browser.
- Hover over "Tools", then
- Click "JavaScript console".
You can leave this JavaScript Console open while you debug your page's JavaScript code. But you will need to make sure you come back to this Error Console often to check for errors.