Beginning JavaScript with DOM Scripting and AJAX
Appendix: Debugging JavaScript
Various examples with errors
exampleFamilies.html
exampleCurly.html
exampleMissingCurly.html
exampleMissingCurlyFixed.html
Testing a line of code with a function
exampleTestingCodeLine.html
Using the debugging methods of DOMhelp
exampleDebugTest.html
Using try and catch()
exampleTryCatch.html
exampleTryCatchTypo.html
exampleTryCatchFailing.html
Helper functions
DOMhelp.js