Home  >  Article  >  Web Front-end  >  jquery table sorting, real-time search of table content (with pictures)_jquery

jquery table sorting, real-time search of table content (with pictures)_jquery

WBOY
WBOYOriginal
2016-05-16 16:47:521215browse
jquery table sorting, real-time search of table content (with pictures)_jquery
Copy code The code is as follows:










































First Name Last Name Email Phone Number
John Smith john.s (613) 873-2982
Sean MacIsaac seanjmacisaac (613) 871-6191
Tim Zarby zarbytown214@hotmail.com (613) 743-5389
Andrew Nichols andy_money2003 (613) 741-3384
Ally O'Neil allyoneil (613) 642-9831



To make a table searchable, add the class 'table-sort-search' to the

tag.



Example:


<code class="html"><table class="table-sort table-sort-search"></table></code>















































To make the search text input show the search match count, add the class 'table-sort-show-search-count' to the

tag.



Example


<code><table class="table-sort table-sort-search table-sort-show-search-count"></table></code>













































Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn