Search code examples
jquerytwitter-bootstraptextboxlist

textboxlist for bootstrap?


I am looking for textboxlist implementation that uses bootstrap and jquery. I found one on web but it seems to require Mootools: https://github.com/guille/TextboxList

I am at a beginner level and not sure how much effort will it take to create a similar functionality on my own. If there are open-sourced libraries out there I would love to use them.

What I am trying to do is implement a textbox where users can start typing free form text and whenever a space is encountered it turns that into a button appearing embedded within the textbox with a close button. Essentially, each word will be it's own button. In appearance it will look something like the following minus the drop-down:

enter image description here


Solution

  • See jQuery autocomplete tagging plug-in like StackOverflow's input tags?
    What is the easiest way to replicate the tags textbox that is used in the stackoverflow questions page

    Somone (Nishant) in the first list suggested this for bootstrap: http://ivaynberg.github.com/select2/