Skip to content

Search a word query in a table, display line and hightlight matches

Notifications You must be signed in to change notification settings

zogs/jquery.tablesearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Search a word query in a table, display line and hightlight matches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published