Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does StackOverflow's 'tags' textbox autocomplete work?

I know they're using a jQuery plugin, but I can't seem to find which one they used. In particular, what I'm looking for is autocomplete with exactly the same functionality as SO's autocomplete, where it will perform an AJAX command with each new word typed in and allow you to select one from a dropdown.

like image 664
Erik Forbes Avatar asked Nov 11 '08 21:11

Erik Forbes


3 Answers

Note that the tag editor has been completely re-written now, and no longer resembles the original, simple text box w/ suggestion drop-down that adorned the site for nearly three years.

If you're interested in the new form, see this Meta question: https://meta.stackexchange.com/questions/102510/can-i-use-the-tag-textbox-script

Autocomplete is the plugin used originally, albeit with various tweaks and customizations made to it over the years.

like image 75
Shog9 Avatar answered Nov 05 '22 05:11

Shog9


You might also like this one:

  • http://code.google.com/p/jquery-autocomplete/

Read the history here: http://code.google.com/p/jquery-autocomplete/wiki/History

like image 33
dyve Avatar answered Nov 05 '22 03:11

dyve


Have a look at SO_Tag, a tagging system based on StackOverflows tagging system.

And Github.

like image 36
Adam Avatar answered Nov 05 '22 03:11

Adam