Unit 17.4. Find and Debug JavaScript Errors

Configure Your Browser to Show JavaScript Errors

Set your browser’s preferences to alert you when there is a JavaScript error. You may have seen alert windows pop up as you browse through other sites on the Web, or as you have worked on your own JavaScript code. Refer to Chapter 7, “Introduction to JavaScript,” for instructions on how to set your browser preferences to give you more information about JavaScript errors.

Make Use of JavaScript Alerts

JavaScript alerts are a handy way to find out the value of an object or parameter or to see what the value of a form object is. Once you have found out what you need to know, delete any extra alerts from your code.

Figure 17.1 is an example of an alert ...

Get Oracle® Web Application Programming for PL/SQL® Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.