Questions tagged [tag-it]

Tag-it is a tag editing jQuery UI widget with autocomplete support.

Tag-it is a simple and configurable tag editing widget with autocomplete support.

  • Source code is available at Github.
  • Actual extensible and idiomatic jQuery UI widget.
  • The widget can be styled using Themeroller or any premade jQuery UI theme.
  • Works with jQuery UI Bootstrap
  • Degrades gracefully for browsers without JavaScript (see example).

It's released under the MIT license.

207 questions
35
votes
3 answers

Serializing and unserializing an array in javascript

I'm using the tag-it library for jquery to make a tagging system (a bit like the stackoverflow one). After the user types his tags the library returns a javascript array that I want to save in a MySQL database. I didn't find a serialize and…
Lukmo
  • 1,688
  • 5
  • 20
  • 31
26
votes
7 answers

Trying to get tag-it to work with an AJAX call

Trying to get tag-it to work with an ajax call. Everything works so far. Except, I am unable to assign a tagSource via an ajax call. In firebug, the 'data' is returning: ["Ruby","Ruby On Rails"] But its not showing up as I type into the input…
Christian Fazzini
  • 19,613
  • 21
  • 110
  • 215
18
votes
4 answers

Jquery Tag-it b.curCSS is not a valid function error

http://marianoagency.com/intranet/trial.html Everything works fine until I start typing any of the sample tags (like "php"). As soon as I hit "p" the b.curCSS script error pops up. The popup still works with the tags, but it is in the wrong place…
blue-eye
  • 225
  • 1
  • 2
  • 7
14
votes
7 answers

jQuery Tag-It - using a value and label object list

Just tried the excellent Tag-It! plug-in for jquery (http://aehlke.github.com/tag-it/), but I can't get it to work how I would like. I have an object list like this: var food =…
seb835
  • 467
  • 1
  • 5
  • 19
13
votes
6 answers

How to modify jquery tag-it plugin: limit number of tags and only allow available tags

how to modify the tag-it ui plugin https://github.com/aehlke/tag-it (version v2.0) so it only allows selection of x numbers of tags and how to allow only tags that are in the "availableTags-option"? this question (or the first part of it) is already…
kasper Taeymans
  • 6,950
  • 5
  • 32
  • 51
9
votes
2 answers

jQuery tag-it only allow available tags

i use jQuery tag-it in my script: $("#user_autocomplete").tagit({ tagSource: function (request, response) { $.ajax({ data: { term: request.term }, type: "POST", url:…
user3077624
  • 125
  • 1
  • 4
9
votes
1 answer

How can I map a tag to an ID value with TagIt for jQuery?

I found a lovely little tagging script called TagIt: http://aehlke.github.io/tag-it/examples.html It's really nice and simple, but I'm wondering how I can let the user type in tags (from my predefined taglist) and have them map to an actual ID…
Michael Giovanni Pumo
  • 14,338
  • 18
  • 91
  • 140
6
votes
4 answers

jQuery tag-it allow tags only from autocomplete source

I'm trying to implement a tag-it input except that I want to restrict the users to only select values from the autocomplete box. I tried to overried the beforeTagAdded event using the source json and check if the tag exists in the source property…
Nir-Z
  • 819
  • 1
  • 13
  • 31
6
votes
1 answer

Autosuggest tag-it jquery - how to get the ID AND Title on postback?

I am using this autosuggest plugin: http://aehlke.github.com/tag-it/ I am getting an array of items from a database (right now just a plain Array). The list includes ID and Title. When I submit my form I would like to get both the ID and Title.…
Sha
  • 2,185
  • 1
  • 36
  • 61
5
votes
4 answers

How to use tagit with knockout

i am using http://aehlke.github.com/tag-it/ in my code how to bind with viewmodel html
rjdmello
  • 865
  • 2
  • 9
  • 14
5
votes
2 answers

tagit : limiting tag creation to the given list by ajax

i am using a jquery ui plugin for tagging : https://github.com/aehlke/tag-it im having a few issues : when a user selects from the list, i want to save the id and the value for that tag. only create tags from the list brought back by the AJAX…
Nauman Bashir
  • 1,732
  • 3
  • 18
  • 26
4
votes
3 answers

How can I improve jQuery "Tag-It" autocomplete?

I like jQuery's Tag-It plugin, but if I have it set to autocomplete, it doesn't always work the way I want it to. Here's an example. My autocomplete array consists of "Pink Lady Apple", "Granny Smith Apple", "Golden Delicious Apple", and "Apple." If…
Jack
  • 203
  • 1
  • 4
  • 9
4
votes
1 answer

JQuery tagit keyboard navigation not working

As mentioned in the question we are using JQuery Tagit for our project. We are using ajax search to populate the keywords. The problem we are facing here is that when clicked on the search results with the mouse, it works precisely as described,…
Ajit Hogade
  • 1,072
  • 9
  • 29
4
votes
1 answer

Validate tags using tagit

I'm using the following tag-it plugin: http://widen.github.io/jQuery-Tagit/. I would like to validate the tags, the input would be email addresses. How can I do this? My code: HTML
4
votes
2 answers

Using custom HTML as result of Tag-it Autocomplete

Autocomplete property of Tagit Jquery plugin was written as follwing : autocomplete: { source: function( request, response ) { $.ajax({ url: baseURL, …
Abdennour TOUMI
  • 87,526
  • 38
  • 249
  • 254
1
2 3
13 14