I'd check out the Prototype javascript framework. You can can buy the AJAX books and learn from the examples of how and why things work but then, do yourself a favor, let this library do all the heavy lifting. It's the Rossetta stone of javascript .. or swiss army knife ... pick your metaphor.
Here's a great guide to what you can do with it:
Using Prototype.js v.1.4.0