You’re overthinking it:
var country = document.getElementById("country");
country.options[country.options.selectedIndex].selected = true;
You’re overthinking it:
var country = document.getElementById("country");
country.options[country.options.selectedIndex].selected = true;