日期:2014-05-16 浏览次数:20398 次
<table id="tab_1">
<tr>
<td>1</td>
</tr>
<tr>
<td>1</td>
</tr>
<tr>
<td>1</td>
</tr>
<tr>
<td>1</td>
</tr>
<tr>
<td>1</td>
</tr>
<tr>
<td>1</td>
</tr>
</table>
<script type="text/javascript">
var tr_arr=$("#tab_1 tr");
alert(tr_arr.length);
</script>
$("#tab_1 tr:lt(11)");