Summary
Since the rise in popularity of the XMLHttpRequest
object, it has become a boon to web developers. In this chapter we began with the basics, such as what we need to make an AJAX request. Once we analyzed the basic stack of software that we need for AJAX, we moved ahead and understood the basic concept of how an XMLHttpRequest
object is responsible for making an asynchronous request. Then we took a leap into one of the most powerful JavaScript Libraries, jQuery, to perform AJAX operations using jQuery. This is just the beginning of our journey into AJAX; in the next chapter we will be looking at more complex cases where AJAX is used, the cases where cross-domain asynchronous requests fail, and how JSON savesthe day by allowing us to make cross-domain asynchronous calls.