jQuery: set selected value of dropdown list?
<p>What's wrong with this code? <a href="http://jsfiddle.net/x3UyB/1/">http://jsfiddle.net/x3UyB/1/</a></p>

<pre><code>$(document).ready(function() {
    $("#routetype").val('quietest');
)};
&lt;select id="routetype" name="routetype"&gt;
    &lt;option value="fastest"&gt;Fastest&lt;/option&gt;
    &lt;option selected="true" value="balanced"&gt;Balanced&lt;/option&gt;
    &lt;option value="quietest"&gt;Quietest&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>It gives me 'Balanced' as the selected option, not 'Quietest'.</p>

<p>Thanks!</p>
