Spyros
Spyros

Reputation: 48686

Fancy jQuery Tags Selector

I am looking to add a jQuery/Javascript based selector type of element in my application. The idea is that a user is presented with say 50 tags inside a textarea, but instead of just selecting a tag word and removing it, there is an X alongside that removes the tag from the list and there is a textbox where a new word can be added. Hope this makes sense.

I would like to ask, is there a ready made open source solution for this ?

Upvotes: 3

Views: 4927

Answers (2)

John Marston
John Marston

Reputation: 141

I've been working on a project recently and this plugin worked very nicely for me: http://xoxco.com/projects/code/tagsinput/

It does "x" to delete, backspace to delete, callback on adding and removing tags, autocomplete and other nice features.

Upvotes: 2

Spyros
Spyros

Reputation: 48686

Actually found one which seems to do the trick :

http://loopj.com/jquery-tokeninput/

Upvotes: 3

Related Questions