Need to troubleshoot a JavaScript problem

If you believe you have a JavaScript problem, you can use JavaScript to turn on the display of JavaScript errors before the section where you believe the problem is occurring, then turn off the display of JavaScript errors after that point. For more information, see Displaying and hiding JavaScript errors.