Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 jquery 1.10.2 的项目中使用 AutoSuggest V1.4。我可以成功添加两个项目,当我开始输入搜索第三个项目时,它告诉我没有找到结果。结果肯定存在。我仍然可以使用制表符/逗号添加元素。
有没有人有同样的问题?
非常感谢!
您必须清除隐藏的输入类“as_values”才能解决问题。至少,这就是我修复它的方式。
提交后,在您的 js 文件中执行此操作:
$("[your container]").find(".as-values").each(function(){ $(this).val(""); });