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

旧街凉风 提交于 2019-12-29 10:28:25

问题


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.


回答1:


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.




回答2:


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




回答3:


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

And Github.



来源:https://stackoverflow.com/questions/282282/how-does-stackoverflows-tags-textbox-autocomplete-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!