我正在使用bootstrap 2.3.1,并且我使用了typeahead,但结果在显示时它们显示在多行作为附加图片,我使用以下文本生成预先建议:
var colors = ["red", "blue", "green", "yellow", "brown", "black"];
$( "#search1" ).attr("autocomplete", "off");
$( "#search1" ).typeahead({source: colors});
请指教,
答案 0 :(得分:0)
thanx @dfsq
我做了修复:
ul.typeahead strong {
display:inline;
}