How do I select an option select and set it?
<p>Here is what i have and here is the html...what am i doing wrong?</p>

<pre><code>$("#request_showdate_1i option[value='2012']").attr("selected","selected");

  &lt;select name="request[showdate(1i)]" id="request_showdate_1i"&gt;
&lt;option value="2005"&gt;2005&lt;/option&gt;
&lt;option value="2006"&gt;2006&lt;/option&gt;
&lt;option value="2007"&gt;2007&lt;/option&gt;
&lt;option value="2008"&gt;2008&lt;/option&gt;
&lt;option value="2009"&gt;2009&lt;/option&gt;
&lt;option value="2010" selected="selected"&gt;2010&lt;/option&gt;
&lt;option value="2011"&gt;2011&lt;/option&gt;
&lt;option value="2012"&gt;2012&lt;/option&gt;
&lt;option value="2013"&gt;2013&lt;/option&gt;
&lt;option value="2014"&gt;2014&lt;/option&gt;
&lt;option value="2015"&gt;2015&lt;/option&gt;
 &lt;/select&gt;
</code></pre>
