/*! * tabcomplete * http://github.com/erming/tabcomplete * v1.3.1 */ (function($) { var keys = { backspace: 8, tab: 9, up: 38, down: 40 }; $.tabcomplete = {}; $.tabcomplete.defaultOptions = { after: "", arrowKeys: false, caseSensitive: false, hint: "placeholder", minLength: 1 }; $.fn.tab = // Alias $.fn.tabcomplete = function(args, options) { if (this.length > 1) { return this.each(function() { $(this).tabcomplete(args, options); }); } // Only enable the plugin on and