jQuery-1

$(:eq(index)) 選定下標爲index的值。例如:$('.aaron:eq(1)).css("border", "3px groove blue"); class屬性爲aaron的第二個標籤加3的邊框 $(':gt(index)') 選定下標大於index的內容$('.aaron:gt(3)').css("border", "3px groove blue"); class屬性爲a
相關文章
相關標籤/搜索