I have a dynamically created select option using a javascript function. the select object is
<
This works in FF, IE9
var x = document.getElementById("country").children[2]; x.setAttribute("selected", "selected");