O'Reilly logo

Beginning JavaScript with DOM Scripting and Ajax, Second Edition by Christian Heilmann, Russ Ferguson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX A

image

Debugging JavaScript

In this appendix, I will introduce you to some tricks and tools to debug your JavaScript code. It is very important to get acquainted with debugging tools, because programming consists to a large extent of trying to find out what went wrong a particular time. Some browsers help you with this problem; others make it harder by having their debugging tools hidden away or by returning cryptic error messages that confuse more than they help. Some of my favorites include philosophical works like “Undefined is not defined” or the Microsoft Internet Explorer (IE) standard “Object doesn’t support this property or method.” ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required