You were introduced to the HTML DOM in this chapter, including various techniques for working with the DOM. Ajax applications frequently put the DOM to work when handling downloaded data. In addition, you saw an extensive shopping cart example that put dragging and dropping to work in Ajax applications. You also saw how to handle timeouts in Ajax and how to download images.