CHAPTER 3

image

The DOM

In this chapter we'll cover the Document Object Model, or DOM. We'll start by addressing what the DOM is and how it has evolved over time. Then we will explore its internal structure and exposed properties and methods in general, followed by a detailed discussion of working with the DOM using JavaScript.

At the end of this chapter you should have a solid understanding of the DOM and its inner workings. You should also have some familiarity with the standards governing it and where to find them, as well as how they evolved. You should understand not only how to handle user events in your scripts, including how to fire them manually, ...

Get JavaScript Programmer's Reference now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.