Download the code, which will list the names of Spanish Communities (comunidades) & Cities (ciudades) or divisions select drop down list.
Two methods of coding are displayed. One using javascript array and the other using simple plain html option list.