How Do You Diagnose Problems With Javascript?
JavaScript errors are extremely common and knowing some basics about what happens when such notifications pop up can help in addressing them. JavaScript errors do not originate from your computer, but rather the website you are viewing the erroneous code from is the culprit. When the browser is unable to read the code due to an error in programming or a missing component, an error message is displayed. The process of diagnosing errors in code is called debugging. Fire up your browser. Click on the “Tools” menu “Internet Options.” Click on the “Advanced” tab and under “Browsing” ensure that the following options are enabled: Disable Script Debugging (Internet Explorer) Disable Script Debugging (Other) Display a notification about every script error The third option enables an error dialog to pop up automatically when a JavaScript error is detected. Open a web page that contains JavaScript code. Assuming it contains an error, a pop up dialog box will open alerting you to a possible error