title: How do I programmatically change a select so that it fires its onchange behavior?
body: <p>This doesn't seem to be working:</p>
  
  <pre><code>&lt;select id="mySel" onchange="alert('foo')"&gt;
      &lt;option value="a"&gt;a&lt;/option&gt;
      &lt;option value="b"&gt;b&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;script&gt;
  dojo.byId('mySel').value = 'b'; // select changes, but nothing is alerted
  &lt;/script&gt;
  </code></pre>
  
  <p>(I'm using dojo, but that doesn't really matter.)</p>