Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Allows the pressing of the Tab key on one's keyboard to automatically complete portions of an input field.

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 LICENSE-MIT
Octocat-spinner-32 README
Octocat-spinner-32 jquery.tabcomplete.js
Tab completion is:

This is a bash-type multi-tab, rotating and case-insensitive completion code snippet, that was written in response to a feature request for the Nodester IRC project: Encouraged by the person that made the feature request, sirkitree ( and by alejandromg ( from Nodester (, here is the snippet for whomever is interested.

It was tested on a Windows Xp machine over IE8 version 8.0.6001.18702, FF 11.0 and Chrome 18.0.1025.142 m.

The code uses space as separator. The completion source is represented by any string array: ["Abraham Lincoln", "abacus Moire", "22", "brocard 1", "ab!ba", "crocard", "cribauld", "cronos"].   

    We want our message to be: "alejandromg, microp11 say hi"
    So we write:
    al <TAB>
    msg: alejandromg
    then we type ", mic" <TAB>
    msg: alejandromg, microp11
    then " says hi"
    so the msg will be "alejandromg, microp11, says hi" :P

Something went wrong with that request. Please try again.