Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tag autocomplete with PHP (like SO)

Tags:

jquery

tags

Does a jQuery (preferably) plugin exist for tagging like on Stack Overflow? When you post a question, the 'Tags' field lets you type tags in.

I need something that will let you type in any part of a tag and x suggestions for this tag will be generated, as something like a dropdown menu. Another requirement is that when I type the next tag, more suggestions will be generated, and that when you click on a suggested tag, it finishes off the tag you're typing and doesn't just append it to the input field.

I've seen this being done on many websites but can't find any plugin to do it.

Thanks.

like image 904
q3d Avatar asked Apr 27 '12 18:04

q3d


1 Answers

Sounds like Tag-it. jQuery UI is a requirement. You can find the project and source code on Github: https://github.com/aehlke/tag-it

enter image description here

like image 148
Sampson Avatar answered Oct 21 '22 10:10

Sampson