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

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

posted @ 2018-11-01 14:06  坚持!!  阅读(200)  评论(0编辑  收藏  举报