jQuery suggest plugin
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
src
.gitignore
GPL-LICENSE.txt
MIT-LICENSE.txt
README.markdown
package.json

README.markdown

Usage

var haystack = ["ActionScript", "AppleScript", "Asp", ...];
$('#container').suggest(haystack, {
  // Available options with defaults:
  suggestionColor   : '#cccccc',
  moreIndicatorClass: 'suggest-more'
  moreIndicatorText	: '…'
});
<input type="text" name="search" id="search" />

More information and demo can be found here.

The plugin will generate the CSS required based on the input's styles.

This plugin currently doesn't support remote resources for haystacks for performance reasons. This might change in the future.

Installation via npm

npm install jquery-suggest

Contributers