Answer by Glenn Slaven for Javascript: Easiest way to make a list of elements - http://stackoverflow.com/questio...