Pages tagged callbacks:

Dean Edwards: Callbacks vs Events

Callbacks vs Events
Most of the major JavaScript libraries claim to support custom events in one form or another. For example, jQuery, YUI and Dojo all support a custom “document ready” event. However, the implementation of these custom events is always some form of callback system.