- Overview
- Documents
Tabcomplete is a ightweight tab completion for inputs and textareas that makes the Tab key able to select multiple items from a preset autocomplete list while typing into an input field.
Source: github.com
Jun 05, 2014 in Autocomplete 4745 views
Tabcomplete is a ightweight tab completion for inputs and textareas that makes the Tab key able to select multiple items from a preset autocomplete list while typing into an input field.
Source: github.com
1. INCLUDE JS FILES
<script src="jquery.js"></script> <script src="tabcomplete.js"></script>
2. HTML
<input id="input">
3. JAVASCRIPT
$(function() { $("#input").tabcomplete([ "array", "with", "words", "to", "complete" ]); });
4. OPTIONS
var options = { after: "", arrowKeys: false, caseSensitive: false, hint: "placeholder", minLength: 1 }; .tabComplete(wordsArray [, options]);
Tagged with:
tab complete
tab completion
input
textarea
tab key
select item
autocomplete
typing
input field
Related Articles