Automatic full tag, such as stack overflow

What is the idea behind implementing a tag system like Stack Overflow? This is a question of its implementation. What are some of the libraries available that will allow me to create a front-end tag system with autocomplete and tag separator, for example with a single Stack Overflow / key tracker?

+8
javascript jquery css html5
source share
2 answers

JQuery UI autocomplete is a good start. Here is an example that shows multiple selections in a single text box.

And here is the documentation on using multiple values ​​using jQuery UI autocomplete. I have used autocomplete in several projects for various purposes, including a tag user interface.

Of course, you need a handler to get the selected values, but this is pretty trivial with AJAX. Your question was about interface implementation, so I assume you have back-end data structures.

+5
source share

https://github.com/aehlke/tag-it

seems like a good start, it allows autocompletion using hard-coded or ajax options (also various other interesting options), not to mention almost all the nice materials on the front panel.

+5
source share

All Articles