1. 选择第几个
:lt(index)
:nth-child
$("ul li:nth-child(2)")
2.选择前几个
:lt(index)
$("tr:lt(2)")
$("ul li:nth-child(2)")
2.选择前几个
$("tr:lt(2)")