O'Reilly logo

Sams Teach Yourself JavaScript™ in 24 Hours, Fifth Edition by Phil Ballard, Michael Moncur

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

Hour 18. Solving Ajax Problems

What You’ll Learn in This Hour

• Using browser tools to debug Ajax

• Common Ajax errors

• Some programming gotchas

In an earlier hour, you tried your hand at debugging JavaScript programs using the tools commonly available within, or as extensions to, various modern browsers. Ajax adds a further layer of complexity to code debugging due to the server calls and responses initiated from the page by the XMLHttpRequest object. In this hour you learn how to analyze this traffic to solve program errors. We also discuss some more general problems you might come up against when developing Ajax applications and consider some possible solutions.

Debugging Ajax Applications

Earlier in the book you encountered discussions ...

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