Help with Ajax Dropdown List

Soldato
Joined
28 Sep 2004
Posts
8,540
I'm creating a 3 tier dropdown list to be called upon by PHP/Ajax similar to these two examples:

http://roshanbh.com.np/dropdown/

http://www.noboxmedia.com/demos/AJAX_country_area_list/index.php

Only problem is I don't know how to call the countries up without having them all listed in the HTML (which is less than ideal) This XML list tries to help:

http://www.darwinshome.za.net/blog/2008/02/country-selection-list-with-sate-and-province/

But I'm struggling, being a bit of a newbie and all. Any help would be great, thanks.
 
So in the HTML call 'UK' for United Kingdom to come up? Saving a few characters is the best way rather than getting the list upon clicking the dropdown? :)

Thanks though. :)
 
Back
Top Bottom