Lightweight auto-complete and tags plugin for jQuerys

glAutoTag

A simple, customizable, lightweight auto-complete and tags plugin for jQuerys.

Find the latest download, fully functional examples and instructions on how to use and configure the plugin at: http://code.gautamlad.com/glAutoTag/

Features

  • use any character as delimiter
  • custom callback for performing lookup -individual styles per control (in case you have multiples on one page)

Installation / Usage

Extract the js and css folders from the archive.

Then add references to the stylesheet and javascript files in your page:

<link href="css/default.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/glAutoTag.js"></script>

Make sure you have a textbox that you can tie the plugin to:

<input type="text" id="tags" />

Finally bind the plugin to the input textbox and set any options you want:

$("#tags").glAutoTag(
{
    delimiter: ";",
    onLookup: function(tag, resultList)
    {
        doLookup("default", tag, resultList);
    }
});

Download Details:

Author: glad

Live Demo: http://code.gautamlad.com/glautotag

GitHub: https://github.com/glad/glAutoTag/

#javascript #jquery

Lightweight auto-complete and tags plugin for jQuerys
2.35 GEEK