How to select a value in dropdown javascript?
<p>i have a drop down like this</p>

<pre><code>&lt;select style="width: 280px" id="Mobility" name="Mobility"&gt;
  &lt;option selected=""&gt;Please Select&lt;/option&gt;
  &lt;option&gt;K&lt;/option&gt;
  &lt;option&gt;1&lt;/option&gt;
  &lt;option&gt;2&lt;/option&gt;
  &lt;option&gt;3&lt;/option&gt;
  &lt;option&gt;4&lt;/option&gt;
  &lt;option&gt;5&lt;/option&gt;
  &lt;option&gt;6&lt;/option&gt;
  &lt;option&gt;7&lt;/option&gt;
  &lt;option&gt;8&lt;/option&gt;
  &lt;option&gt;9&lt;/option&gt;
  &lt;option&gt;10&lt;/option&gt;
  &lt;option&gt;11&lt;/option&gt;
  &lt;option&gt;12&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I use this line to select a value it works in Mozilla not in IE? Why its not working?</p>

<pre><code>var element = document.getElementById("Mobility");
element.value = "10";
</code></pre>
