Chapter 1 - Modern Javascript Programming

Example 2 - Using the Document Object Model to Locate and Manipulate Different DOM Elements

There are a number of reasons why the DOM is awesome, here are some :