Jquery loop through all the rows in a table without first row

前端 未结 4 1936
孤独总比滥情好
孤独总比滥情好 2021-02-11 03:19

I need to loop through all rows for a particular table, and I have done it as below. At one point, I need to remove the matching table row. I couldn\'t figure out how to skip t

4条回答
  •  执笔经年
    2021-02-11 03:45

    $('#tbl_dynamic_call_dates > tbody  > tr').not(":first").  [....]
    

    to get everything BUT the first


    $('#tbl_dynamic_call_dates > tbody  > tr:first'). [...]
    

    or

    $('#tbl_dynamic_call_dates > tbody  > tr').first(). [...]
    

    to only get the first

提交回复
热议问题