tab that sh!t. a simple jQuery javascript tab completion plugin
Adds tab completion behavoir to html textareas. Start typing a predefined value after a tabbingChar and hit the tab key to auto complete the value. Similar to most irc clients for completing names.
<textarea id="input"></textarea>
<script text="text/javascript" src="jquery.tabcomplete.js"></script>
function assignData(options) {
options = ['foo','bar'];
}
(function($) {
$("#input").tabComplete({
dataFn:assignData
});
})(jQuery);
- kill ring cycling would be nice
Doug Tangren (softprops) 2009