StackOverflow 的“标签"文本框自动完成是如何工作的?

How does StackOverflow#39;s #39;tags#39; textbox autocomplete work?(StackOverflow 的“标签文本框自动完成是如何工作的?)
本文介绍了StackOverflow 的“标签"文本框自动完成是如何工作的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我知道他们使用的是 jQuery 插件,但我似乎无法找到他们使用的是哪个插件.特别是,我正在寻找的是具有与 SO 的自动完成功能完全相同的功能的自动完成功能,它会在输入的每个新单词时执行 AJAX 命令,并允许您从下拉列表中选择一个.

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.

推荐答案

注意标签编辑器 现在已经完全重写,不再像原来的、带有建议下拉菜单的简单文本框了,该文本框已经装饰了该网站近三年.

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.

如果您对新表单感兴趣,请参阅此元问题:https://meta.stackexchange.com/questions/102510/can-i-use-the-tag-textbox-script

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 是最初使用的插件,尽管对其进行了各种调整和自定义年.

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

这篇关于StackOverflow 的“标签"文本框自动完成是如何工作的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

How do I can get a text of all the cells of the table using testcafe(如何使用 testcafe 获取表格中所有单元格的文本)
node_modules is not recognized as an internal or external command(node_modules 未被识别为内部或外部命令)
How can I create conditional test cases using Protractor?(如何使用 Protractor 创建条件测试用例?)
PhantomJS and clicking a form button(PhantomJS 并单击表单按钮)
Clicking #39;OK#39; on alert or confirm dialog through jquery/javascript?(在警报上单击“确定或通过 jquery/javascript 确认对话框?)
QunitJS-Tests don#39;t start: PhantomJS timed out, possibly due to a missing QUnit start() call(QunitJS-Tests 不启动:PhantomJS 超时,可能是由于缺少 QUnit start() 调用)