-- og det kan f.eks. se sådan ud ...
-- bemærk, at jeg simpelthen har taget anekis lister, men dog udeladt territorier i Caribien (f.eks. British Virgin Islands og Virgin Islands !-), mens Falkland Islands er med alligevel, og f.eks. Rusland og Belize findes flere steder !o]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title>Tomt dokument</title>
<meta name="Generator" content="Stone's WebWriter 4">
<meta name="keywords" content="roenving,
http://www.eksperten.dk/spm/615326"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
html,body{height:100%;margin:0px;border:0px;padding:0px;font-family:tahoma,verdana,arial,sans-serif;font-size:small;}
</style>
<script language="javascript" type="text/javascript">
var countries = new Array();
countries[countries.length] = ["Algeria","Angola","Benin","Botswana","Burkina Faso","Burundi","Cameroon","Cape Verde","Central African Republic","Chad","Comoros","Congo, Democratic Republic of the","Congo, Republic of the","Cote d'Ivoire","Djibouti","Egypt","Equatorial Guinea","Eritrea","Ethiopia","Gabon","Gambia, The","Ghana","Guinea","Guinea-Bissau","Kenya","Lesotho","Liberia","Libya","Madagascar","Malawi","Mali","Mauritania","Mauritius","Morocco","Mozambique","Namibia","Niger","Nigeria","Rwanda","Sao Tome and Principe","Senegal","Seychelles","Sierra Leone","Somalia","South Africa","Sudan","Swaziland","Tanzania","Togo","Tunisia","Uganda","Western Sahara","Zambia","Zimbabwe"];
countries[countries.length] = ["Afghanistan","Armenia","Azerbaijan","Bangladesh","Bhutan","Brunei","Burma","Cambodia","China","Georgia","Hong Kong","India","Indonesia","Japan","Kazakhstan","Korea, North","Korea, South","Kyrgyzstan","Laos","Macau","Malaysia","Maldives","Mongolia","Nepal","Pakistan","Papua New Guinea","Philippines","Russia","Singapore","Sri Lanka","Taiwan","Tajikistan","Thailand","Turkey","Turkmenistan","Uzbekistan","Vietnam"];
countries[countries.length] = ["Antigua and Barbuda","Bahamas, The","Barbados","Belize","Cuba","Dominica","Dominican Republic","Grenada","Haiti","Jamaica","Saint Kitts and Nevis","Saint Lucia","Saint Vincent and the Grenadines","Trinidad and Tobago"];
countries[countries.length] = ["Belize","Costa Rica","El Salvador","Guatemala","Honduras","Nicaragua","Panama"];
countries[countries.length] = ["Albania","Andorra","Austria","Belarus","Belgium","Bosnia and Herzegovina","Bulgaria","Croatia","Cyprus","Czech Republic","Denmark","Estonia","Finland","France","Germany","Greece","Holy See (Vatican City)","Hungary","Iceland","Ireland","Italy","Latvia","Liechtenstein","Lithuania","Luxembourg","Macedonia, The Former Yugoslav Republic of","Malta","Moldova","Monaco","Netherlands","Norway","Poland","Portugal","Romania","Russia","San Marino","Serbia and Montenegro","Slovakia","Slovenia","Spain","Sweden","Switzerland","Turkey","Ukraine","United Kingdom"];
countries[countries.length] = ["Bahrain","Gaza Strip","Iran","Iraq","Israel","Jordan","Kuwait","Lebanon","Oman","Qatar","Saudi Arabia","Syria","United Arab Emirates","West Bank","Yemen"];
countries[countries.length] = ["Canada","Mexico","United States"];
countries[countries.length] = ["Australia","Cook Islands","Fiji","Kiribati","Marshall Islands","Micronesia, Federated States of","Nauru","New Zealand","Niue","Palau","Samoa","Solomon Islands","Tonga","Tuvalu","Vanuatu"];
countries[countries.length] = ["Argentina","Bolivia","Brazil","Chile","Colombia","Ecuador","Falkland Islands (Islas Malvinas)","French Guiana","Guyana","Paraguay","Peru","South Georgia and the South Sandwich Islands","Suriname","Uruguay","Venezuela"];
function showCountries(elm){
var sel = elm.form.select2;
if(elm.selectedIndex==0){
sel.style.display = 'none';
}else{
sel.length = 1;
var arrNum = elm.selectedIndex-1;
for(i=0;countries[arrNum].length>i;i++){
sel.options[sel.length] = new Option(countries[arrNum][i]);
sel.style.display = 'inline';
}
}
}
</script>
</head>
<body>
<form id="minForm" name="minForm">
Select region:<br>
<select name="minSelect" id="minSelect" onchange="showCountries(this);">
<option>-- Select region --</option>
<option>Africa</option>
<option>Asia</option>
<option>Caribbean</option>
<option>Central America</option>
<option>Europe</option>
<option>Middle East</option>
<option>North America</option>
<option>Oceania</option>
<option>South America</option>
</select>
<br>Select country:<br>
<select name="select2" id="select2" style="display:none;" onchange="">
<option value="">-- Select country --<br>
</select>
<br><br>
<input type="submit" value="send">
</form>
</body>
</html>
PS. Eksperten afskærer lange strenge, men det findes, når du kopierer !-)