getAttribute example from "DOM Scripting: Web Design with JavaScript and the Document Object Model" by Jeremy Keith. This particular exercise is from Chapter 3, page 54. View Source to see the actual JavaScript being run.

Update title attribute information for the unordered list in this page.

What to Buy

Don't forget to buy this stuff.