HTML Table Search GitHub

Intro

Demo

How-to

Example

<input type="text" id="txtSearch" />
<table id="tblTarget" />

<script type="text/javascript">
   new TableSearch('txtSearch', 'tblTarget', { noResultsText: 'Nothing found!' }).init();
</script>


Or

<input type="text" id="txtSearch" />
<table id="tblTarget" />

<input type="text" id="txtSearch1" />
<table id="tblTarget1" />

<script type="text/javascript">
   new TableSearch('txtSearch', 'tblTarget', { noResultsText: 'Nothing found!' }).init();
   new TableSearch('txtSearch1', 'tblTarget1', { highlightCss: 'highlight_class' }).init();
</script>