开发者

using jquery how to search data in html table

开发者 https://www.devze.com 2023-01-02 00:16 出处:网络
i want to display entire row (but the search opertion could be done in a particular column(td)). by using this /**

i want to display entire row (but the search opertion could be done in a particular column(td)).

by using this /**

$(function () {
  $('input#searchCode').quicksearch('table#employeeTable tbody tr',{

  });
 });

*/

i can search a text in entire row.but i dont know to search in a specified column a开发者_开发知识库nd display entire row...


try this plugin out. looks pretty painless.


use 'selector': 'td:eq(3)' for every 4th td...

demo here ( note that in my demo, 1st colum is a <th>, so your search will be in IP)

0

精彩评论

暂无评论...
验证码 换一张
取 消