Hello world!
Type something and then complete the words by pressing tab. Go ahead and try!
Press tab multiple times to iterate matches.
Try the different hinting methods:
.tabcomplete(wordsArray [, options]);
var options = {
after: "",
arrowKeys: false,
hint: "placeholder",
match: function(word, words) { .. },
caseSensitive: false,
minLength: 1,
wrapInput: true
};
<script src="jquery.js"></script>
<script src="tabcomplete.js"></script>
<script>
// jQuery ready event
$(function() {
$("#target").tabcomplete([
"array",
"with",
"words",
"to",
"complete"
]);
});
</script>