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
3
votes
0 answers

How to get jQuery tagit to create tag on pressing Enter only if nothing has been selected in autocomplete

I'm using jQuery tagit with Autocomplete. I would like it so that when the user hits enter it will create a tag out of what's been entered if they don't select any of the autocomplete suggestions. If they do key down and select one of the options I…
user2052491
  • 113
  • 1
  • 1
  • 8
3
votes
0 answers

JQuery Tag It Plugin Auto Complete from MYSQL Database using AJAX and JSON

I am trying to use the JQuery plugin Tag It to source its auto-complete data from a MySQL database as well as the tag id. This my php file tag.php:
Alex
  • 99
  • 2
  • 9
3
votes
1 answer

Send ID but show label

I am using the jQuery plugin Tag-It for handling auto-suggestion and tagging. I am getting the data using an Ajax call which is working fine. The data at the moment is being returned in the following format: {"itemID":"ItemName"} For…
Amo
  • 2,884
  • 5
  • 24
  • 46
2
votes
0 answers

Add class to jQuery Highlight Effect in tag-it.js

I want to add a class in tag-it.js so the Highlight Effect affects my whole element. Tag-it is a jQuery UI plugin which uses the Highlight Effect when you try to enter the same tag twice. It works fine, but to get a square on front of the tags I…
Bazi
  • 195
  • 1
  • 2
  • 11
2
votes
1 answer

Jquery Tag-IT Allow Comma in the Middle

Ok so here's the thing. We are using the 3rd party control "tag-it" on our controls. JQUERY TAG-IT Now we have an issue wherein we need to allow the user to paste two word text then put a comma in between. To demonstrate this is the current behavior…
TheProvost
  • 1,832
  • 2
  • 16
  • 41
2
votes
1 answer

javascript tag-it allowed tags

I need to allow users select ONLY allowed tags in tagSource. Currently I have that: var sampleTags = ['c++', 'java', 'php', 'coldfusion', 'javascript', 'asp', 'ruby', 'python', 'c', 'scala', 'groovy', 'haskell', 'perl', 'erlang', 'apl', 'cobol',…
testStack201541
  • 119
  • 1
  • 9
2
votes
0 answers

Tagit UI: How to display the Tag Name on autocomplete and select but send the Tag Id

I am using the most current Tagit UI. I am pulling from an API with a JSON array and I am building a search feature. I want to search by TagId by populating the url with the tagid's. I can get that to work but the displayed value of the tags is the…
GrantW
  • 98
  • 5
2
votes
1 answer

Jquery Tagit Displaying Unwanted x from DB

I am having an issue with Jquery TagIt. It is working fine, but when I pull the records form the database and display them using a foreach loop it displays the labels like they should but then adds an x at the end as text. The second x is the only…
bilcker
  • 1,120
  • 1
  • 15
  • 43
2
votes
0 answers

Enter keypress 'ignored' using jquery autocomplete tagit

I'm using Tagit! with jQuery autocomplete. It works a treat, retrieving known search words from a database as long as the user clicks one of the returned words. If, however, user ↓s and hits enter, the tag is created but the value/Id from the…
Rufyan
  • 305
  • 4
  • 15
2
votes
2 answers

How to add value in autocomplete when pressing tab or enter?

Im using http://aehlke.github.io/tag-it/ for tagging but I am having a hard time adding a value when the autocomplete comes up and you hit enter or tab. If I use my mouse I can easily select a value like so: And click on the value it correctly…
JonH
  • 32,732
  • 12
  • 87
  • 145
2
votes
0 answers

Jquery Tagit not working with master page

Here I am getting problem with master page. Here When I am using Jquery Tagit with a simple .aspx page then Jquery Tagitis woking fine but when I use of Jquery tagit with .master page then I am getting error. Error as Below JavaScript runtime error:…
Govinda Rajbhar
  • 2,926
  • 6
  • 37
  • 62
2
votes
0 answers

Autocomplete with tagging

i need to use autocomplete with tagging to set the customers data in a form, because one invoice could be a N customers. i try with severals tags and autocomplete tools to make this task, but i don't get how to do that, i'll give you an example. The…
2
votes
0 answers

How to use _renderitem method with jQuery Tagit plugin

I am trying to use jQuery Auto-complete _renderitem method with jQuery tagit plugin . Can someone help me with it? https://github.com/aehlke/tag-it http://api.jqueryui.com/autocomplete/#method-_renderItem Thanks in advance!
2
votes
1 answer

How to avoid the custom entry in tagit() plugin

In rails 4.0, I am trying to implement tags input field using jquery tagit() plugin. In this plugin, user should select the input tags from autocompletion list not by custom entry. Here how can I avoid the custom entry? And also here, I mentioned…
Shruthi R
  • 1,863
  • 4
  • 39
  • 77
2
votes
1 answer

How to validate an email address?

I am using jQuery Tag-It. When I enter the tag value, it needs to be validated if it is a valid email address or not. How can I validate this tag using tag-it?
krishna
  • 923
  • 3
  • 15
  • 42
1 2
3
13 14