welcome to the next level
65
It’s time to learn how to speak asynchronously.
If you’re planning on writing the next killer application, you need to
understand Ajax inside and out. In this chapter, you’ll get the inside
scoop on asynchronous JavaScript: you’ll learn how to send
requests on different browsers, master ready states and status
codes, and even pick up a few extra dynamic HTML tricks along the
way. By the time you’re done, you’ll be making requests and handling
responses like a pro... and by the way, did we mention your users
won’t have to wait around on you while you’re learning?
2
Speaking the Language
Making Ajax Requests