日期:2014-05-16 浏览次数:20338 次
<div id="accordion">
<h3>Section 1</h3>
<div>
<p>
1t
</p>
</div>
<h3>Section 2</h3>
<div>
<p>
2t
</p>
</div>
<h3>Section 3</h3>
<div>
<p>
3t</p>
</div>
<h3>Section 4</h3>
<div>
<p>
4t
</p>
</div>
</div>
<script>
var $a=$("#accordion").find("> li > :first-child,> :not(li):even");
</script>