Jquery - Setting a select list option by id
<p>I feel like this should not be this complicated, but I'm sure I'm missing something trivial.
Thanks for anyone that can help!</p>

<p>XSL:</p>

<pre><code>&lt;select id="mySelectList"&gt;
  &lt;option id="1" description="Blue" /&gt;
  &lt;option id="2" description="Black" /&gt;
  &lt;option id="3" description="Green" /&gt;
&lt;/select&gt;
</code></pre>

<p>JS:</p>

<pre><code>$("#mySelectList option[id='1']").attr("selected", "selected");
</code></pre>

<p>EDIT:  Fixed my select per Nick's response.</p>
