Description

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

There are several different loops through the "li" tags to display them. Unfortunately, the loops pop up an alert window for each "li", so the more loops, the more popups.

What to Buy

Don't forget to buy this stuff.