jq 比较五获取结构树的位置 eq() 或者parent

$("ul.bb li:eq(1)").parent().children().addClass("kang")

原文地址:https://www.cnblogs.com/jjchi/p/9888934.html