如何使用Twitter的引导预输入时禁用谷歌浏览器的建议名单? [英] how to disable google chrome suggestion list when using twitter bootstrap typeahead?

查看:149
本文介绍了如何使用Twitter的引导预输入时禁用谷歌浏览器的建议名单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Twitter的引导预输入我得到谷歌上述预输入列表铬建议列表

using twitter bootstrap typeahead i get google chrome suggestion list above typeahead list

 $(document).ready(function () {
        $("[ID$=TextBox]").typeahead({ source: ["aaa", "aab", "aac", "aad"] });
    });

<asp:TextBox ID="TextBox" runat="server" data-provide="typeahead"></asp:TextBox>

推荐答案

[后续从注释部分上述]

[Follow-up from the comment section above]

您可以关闭该功能上的typehead从通过设置自动完成功能关闭,像这样引用的输入框:

You can turn off that feature on the input box that the typehead is referenced from by setting the autocomplete function off like so:

autocomplete="off"

这篇关于如何使用Twitter的引导预输入时禁用谷歌浏览器的建议名单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆