/*! * tabcomplete * Lightweight tab completion for inputs and textareas * * Source: * https://github.com/erming/tabcomplete * * Copyright (c) 2014 Mattias Erming * Licensed under the MIT License. * * Version 1.3.1 */ (function($) { var keys = { backspace: 8, tab: 9, up: 38, down: 40 }; $.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