set Select Option method code example
Example: javascript set select option
document.getElementById("mySelectID").value="my_value";
//note: setting value in html directly does not work <select value="my_value">
document.getElementById("mySelectID").value="my_value";
//note: setting value in html directly does not work <select value="my_value">