Hello world!
Type something and then complete the words by pressing tab. Go ahead and try!

Press tab multiple times to iterate matches.

Input

0 matches

Hinting

Try the different hinting methods:


Plugin usage

.tabcomplete(wordsArray [, options]);

Default options

var options = {
	after: "",
	arrowKeys: false,
	hint: "placeholder",
	match: function(word, words) { .. },
	caseSensitive: false,
	minLength: 1,
	wrapInput: true
};

Example

<script src="jquery.js"></script>
<script src="tabcomplete.js"></script>
<script>
	// jQuery ready event
	$(function() {
		$("#target").tabcomplete([
			"array",
			"with",
			"words",
			"to",
			"complete"
		]);
	});
</script>
Fork me on GitHub