Using AJAX to interrogate the database.
Example data: Australia, Bulgaria, United Kingdom
NB. If you have Firebug installed you will be able to view the AJAX call.
Using a local array to populate data.
Example data: Bradford, Leeds, Salisbury, York