Skip to content

ushios/jQuery.ListSearch

Repository files navigation

jQuery.ListSearch

Incremental search for table, ul, and ol tags.

Usage

javascript

<script>
$(function(){
    $('#searchTable').listSearch('#tableText');
});
</script>

html

<div>
  <h2>Table test.</h2>
    <label>search:<input id="tableText" type="text" /></label>
    <table id="searchTable">
        <tr data-ignore-list-search="ignore">
            <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 2. Add select html element.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published