All Projects → erikdubbelboer → MooComplete

erikdubbelboer / MooComplete

Licence: other
Add autocomplete functionality to input elements

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

MooComplete

Add autocomplete functionality to input elements.

How to Use

Add MooComplete:

new MooComplete('idofelementhere', {
  list: ['list', 'of', 'elements', 'to', 'use', 'to', 'suggest'], // elements to use to suggest.
  mode: 'text', // suggestion mode (tag | text)
  size: 5 // number of elements to suggest
});

This turns the <input id="idofelementhere"> into a MooComplete widget.

You can also pass functions to render the elements in the list. For more documentation on this please check the source and the advanced example

Example

You can find an example at http://dubbelboer.com/MooComplete/

Screenshots

Screenshot Screenshot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].