Chapter 8. Promises in jQuery

In the last chapter, we learned how promises were implemented in Angular.js and how they provided benefit in the fast growing real-time web app industry. In this chapter, we will explore another very famous and useful JavaScript library for frontend web/mobile apps development.

jQuery is one the most used JavaScript libraries and it is recognized as one of the most maintainable, progressive, and easy to adopt libraries around. jQuery has also a credit to shrink the mile-long lines of code into plainer and simpler short code. This utility helped jQuery gain popularity beyond imagination. In this chapter, we will be looking at the history of jQuery, how it evolved, what is the basic way to use it, and how promises are ...

Get Mastering JavaScript Promises now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.