how to disable google chrome suggestion list when using twitter bootstrap typeahead? how to disable google chrome suggestion list when using twitter bootstrap typeahead? asp.net asp.net

how to disable google chrome suggestion list when using twitter bootstrap typeahead?


[Follow-up from the comment section above]

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"


As Andres Ilich mentioned, adding autocomplete="off"attribute should do the trick. It is mentioned in W3 draft:http://www.w3.org/Submission/web-forms2/#the-autocomplete

I do not know much about ASP.NET and so I do not know whether that attribute is supported in tag. When I browsed w3school (http://www.w3schools.com/aspnet/prop_webcontrol_textbox_autocompletetype.asp) I got this as familiar option AutoCompleteType="None". But I am not sure of this.

I think in jQuery you can implement something like this:

$("[ID$=TextBox]").attr("autocomplete", "off");