Pro jQuery 2.0 pp 963-993 | Cite as

Using Deferred Objects

  • Adam Freeman
Chapter

Abstract

Throughout this book, you have seen examples that relied on callbacks – you provide a function that is executed when something occurs. A good example is the way events are handled, using a method such as click, passing in a function as an argument. The code statements in the function are not performed until the user triggers the event – until that point our function is dormant.

Keywords

Padding 

Copyright information

© Adam Freeman 2013

Authors and Affiliations

  • Adam Freeman
    • 1
  1. 1.MILTON KEYNESUnited Kingdom

Personalised recommendations