Skip to content

glebkema/jquery-search-among

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-search-among

Use input field to provide a quick search among list items, text paragraphs or another blocks of the web-page content.

Specify multiple search terms, separated by spaces.

As you enter characters, inappropriate items disappear.

Options

Option Meaning
sourceSelector Selector of items, among which the search is performed.

You can use a string instead of an options object as a plugin parameter. In this case, the string will be interpreted as the value of the sourceSelector option.

Usage examples

jQuery(document).ready(function($) {

    $('#search1').searchAmong('.content>p');

    $('#search2').searchAmong({
        sourceSelector: '.list>li',
    });

});

About

Use input field to provide a quick search among list items, text paragraphs or another blocks of the web-page content. As you enter characters, inappropriate items disappear.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors