Filtering table multiple columns

前端 未结 14 1691
闹比i
闹比i 2020-12-09 13:31

I used w3School code for my page and it works fine but it only filters one column, don’t know how create loops but hopping there is easier solution.

    td =         


        
14条回答
  •  粉色の甜心
    2020-12-09 14:25

    Add this JQuery in the head tag of the file. The #myinput is the id search box which is an input element of type text. The #tab-id is the id of the tbody, so you should explicitly divide the table into thead and tbody

    
    

提交回复
热议问题