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