如何用jquery选中select的第二个option

用一个select,但是里面的值不固定,我想通过jquery实现默认选中第2个option,该如何操作呢

[code="html"]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">



Untitled


<br> $(function(){<br> $(&quot;select option:nth-child(2)&quot;).attr(&quot;selected&quot; , &quot;selected&quot;);<br> });<br>



Flowers
Gardens
Trees



[/code]

[code="java"]
var item2rd=$('select>option:nth-child(2)');//第二个
item2rd.attr('selected',true);//选中
[/code]

循环加载的时候,到第二个的时候给加上selected的属性