Skip to content

washerath/jQuery.ListSearch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery.ListSearch

Incremental search for table, ul, and ol tags.

Usage

javascript

<script>
$(function(){
 objects = [
		{'input':'#tableText', 'target':'#searchTable' }
	]
	
	$().listSearch(objects);
});
</script>

html

<div>
  <h2>Table test.</h2>
	<label>search:<input id="tableText" type="text" /></label>
	<table id="searchTable">
		<tr>
			<th>name</th><th>value</th>
		</tr>
		<tr>
			<td>Sato</td><td>Taro</td>
		</tr>
		<tr>
			<td>Sato</td><td>Hanako</td>
		</tr>
		<tr>
			<td>Suzuki</td><td>Jiro</td>
		</tr>
		<tr>
			<td>田中</td><td>半兵衛</td>
		</tr>
	</table>
</div>

License

Copyright © 2013 UshioShugo Dual licensed under the MIT license and GPL license.

Contact

UshioShugo ushio.s+github@gmail.com

#TODO list

  1. Ignore table header.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published