Multiple SELECT Lists

The code in this section populates one of three SELECT lists according to the selected OPTIONs of the other two. Using the onChange event and the selectedIndex property, JavaScript accesses elements of corresponding arrays, named days, numbers, or zodiac.