Home > Web Front-end > JS Tutorial > body text

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

WBOY
Release: 2016-05-16 16:47:52
Original
1161 people have browsed it
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>













































Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!