asp.net – 如何禁用谷歌chrome的建议列表使用twitter bootstrap类型头?

前端之家收集整理的这篇文章主要介绍了asp.net – 如何禁用谷歌chrome的建议列表使用twitter bootstrap类型头?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
使用叽叽t witter boot ap type head head head head head head head。。。。。。。
  1. $(document).ready(function () {
  2. $("[ID$=TextBox]").typeahead({ source: ["aaa","aab","aac","aad"] });
  3. });
  4.  
  5. <asp:TextBox ID="TextBox" runat="server" data-provide="typeahead"></asp:TextBox>

解决方法

[上述评论部分的后续行动]

通过设置自动完成功能,可以关闭类型头被引用的输入框上的该功能

  1. autocomplete="off"

猜你在找的asp.Net相关文章