title: drop down onchange selected list not working?
body: <p>Drop down not working when I select same option second time.
  This is my code:</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;p&gt;Select a new car from the list.&lt;/p&gt;
          &lt;select id="mySelect" onchange="myFunction()"&gt;
              &lt;option value="Audi"&gt;Audi
              &lt;option value="BMW"&gt;BMW
              &lt;option value="Mercedes"&gt;Mercedes
              &lt;option value="Volvo"&gt;Volvo
          &lt;/select&gt;
          &lt;script&gt;
              function myFunction() {
                  var x = document.getElementById("mySelect").value;
                  alert(x);
              }
          &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>First time select any care eg:Audi, then it alerts Audi, after alert again select Audi then there is no alert coming. Could anybody help me whats wrong in this?</p>