Tagit - Autocomplete - Input Field - BIZAMAJIG USAGE
Using jQuery Tagit on input fields.
HTML
<script src="http://webspirited.com/tagit/js/tagit-themeroller.js"></script>
<link rel="stylesheet" href="http://webspirited.com/tagit/css/themeroller/bootstrap/Bootstrap.css">
<link rel="stylesheet" href="http://webspirited.com/tagit/css/themeroller/tagit.css">
<div style="width: 250px;">
<textarea id="field1" name="field1">red,blue, green</textarea>
</div>
<span id="show">show ID here</span>
JavaScript
$(document).ready(function(){
var availableTags = [{"id":"298123","label":"WhateverShort","value":"298123-WhateverMightBeLongerInReality"}];
var availableTagsCustom = [
{
label:'ActionScript',
value:'actionscript',
desc:'ActionScript is a scripting language used for RIAs, mobiles applications, web applications, etc.',
count:5496
},
{
label:'AppleScript',
value:'applescript',
desc:'AppleScript is the Mac OS scripting language.',
count:1502
},
{
label:'Asp',
value:'asp',
desc:'Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script-engine for dynamically-generated web pages. The introduction of ASP.NET led to use of the term Classic ASP for the original technology.',
count:4359
},
{
label:'BASIC',
value:'basic',
desc:'BASIC (Beginner’s All-purpose Symbolic Instruction Code) is a family of high-level programming languages designed to be easy to use.',
count:73
},
{
label:'C',
value:'c',
desc:'C is a general-purpose computer programming language used for operating systems, games and other high performance work and is clearly distinct from C++. It was developed in 1972 by Dennis Ritchie for use with the Unix operating system.',
count:61619
},
{
label:'C++',
value:'c++',
desc:'A statically typed, free-form, compiled, multi-paradigm, general-purpose programming language widely used by enthusiasts and professionals.',
count:130385
},
{
label:'Clojure',
value:'clojure',
desc:'Clojure is a modern Lisp dialect. Features include: an emphasis on functional programming (lazy/impure), running on the JVM with transparent access to all Java libraries, an interactive REPL development environment, dynamic runtime polymorphism, Lisp-style macro meta-programming and concurrent programming capabilities supported by software transactional memory. Versions of Clojure are also available for the CLR and...