jQuery selector - all but the first

前端 未结 8 2043
日久生厌
日久生厌 2020-12-07 01:22

I have a small jQuery selectors question, I have the following html:

<
8条回答
  •  误落风尘
    2020-12-07 02:01

    This doesn't quite answer your question, but you could skip the first matched element using gt.

    For example:

    $('div.member-info:gt(0)')
    

    See: http://api.jquery.com/gt-selector/

提交回复
热议问题