我正在使用这个表using库:- https://mottie.github.io/tablesorter/docs/example-widget-filter-any-match.html
我的html页面包含一个包含两个列的表,名称和年龄。比方说,用户已经过滤掉了所有年龄在18岁以下的名字。我如何获得与该筛选器匹配的所有行?
发布于 2015-09-18 07:39:33
您可以在表中获得可见的行:
$('.tablesorter tbody tr:visible');通过在控制台中运行代码,您可以在tablesorter演示页面中尝试这一点。
https://stackoverflow.com/questions/32646346
复制相似问题