title: Can't change select value with jQuery
body: <p>I've got a very simple select defined like this :</p>
  
  <pre><code>&lt;select name='typedoc' id ='typedoc' size=1&gt;
      &lt;option&gt;1&lt;/option&gt;
      &lt;option&gt;2&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>There are 2 values, <code>1</code> and <code>2</code>. Display is OK. I can't change the value with jQuery. I tried :</p>
  
  <pre><code>$('[name=typedoc]').val('2');
  </code></pre>
  
  <p>and</p>
  
  <pre><code>$('#typedoc').val('2');
  </code></pre>
  
  <p>But the ddl stays on the first choice. The lines before are executed, so I'm sure the function is called. What could be wrong?</p>