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

前端 未结 4 2031
迷失自我
迷失自我 2021-02-11 03:32

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:49

    $('#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

提交回复
热议问题