Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
 
 
 
 
js
 
 
 
 
 
 
 
 
 
 

README.md

#jQuery search suggestions

Check http://kopolo.ru/for-developers/ksearchhint/demo/index.php for usage example

##Basic usage

<div class="hintable">
    <input type="text" id="search"/>
</div>
kSearchHint({
    input: '#search',                       //This is css selector of hintable input
    url: '/url/to/send/post/with/request/', //This url should return JSON with suggestions for your search string
    textName: 'search'                      //Name of variable containing your string which will be send by POST
});

Check defaults definition in kSearchHint.js for all options

About

jQuery searching suggestions

Resources

You can’t perform that action at this time.