-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (25 loc) · 887 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
TableSearch Plugin v1.0.0
-------------------------------
Copyright (c) 2012 Simon GUICHARD. Licensed under the MIT license.
Overview
--------
A jQuery plugin for a quick search in big tables. Will display only the line that matchs the query and hightlight the terms in the line
Features include:
- hightlights of matches
- color and background color parameters
Usage
-----
//include the plugin
<script src="/link/to/jquery.tablesearch.js" type="text/javascript"></script>
//call the plugin to your table
<script type="text/javascript">
jQuery(function(){
$(".mytables").tablesearch({bgcolor:'yellow',color:'black'});
});
</script>
//include the following html form anywhere in your page
<form action="" id="formTS" method="post">
<input type="text" id="queryTS" />
<input type="submit" value="Search" />
<input type="button" id="clearTS" value="Clear" />
</form>