title: Selecting correct option with Javascript in Internet Explorer
body: <p>I have a problem with Internet Explorer not correctly selecting an option when a javascript event is triggered.</p>
  
  <p>I track the events of a marker on a google map. When the marker is moved, I want the right country to be chosen from a select list.</p>
  
  <p>Part of the code that switches the country selection:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  //...
  document.getElementById("id_country").value = country;
  //...
  &lt;/script&gt;
  </code></pre>
  
  <p>It works just fine in Google Chrome. I know that the country name that is being returned by the map matches the ones in the option field values. In Internet Explorer, nothing happens.</p>
  
  <pre><code>&lt;select id="id_country" name="country"&gt;
      &lt;option value="Afghanistan"&gt;Afghanistan&lt;/option&gt;
      &lt;option value="Aland Islands"&gt;Aland Islands&lt;/option&gt;
      &lt;!--...--&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>How do I get Internet Explorer to select the correct option (without using jquery)?</p>