【发布时间】:2014-07-16 00:23:11
【问题描述】:
我正在开发 Bootstrap Typeahead。我正在使用引导程序 3.1,并下载此脚本。 http://twitter.github.io/typeahead.js/
我也在使用http://timschlechter.github.io/bootstrap-tagsinput/examples/bootstrap3/
<input id="Subject" type="text" class="form-control" placeholder="Subject">
我的脚本是;
$('#Subject').tagsinput({
typeahead: {
source: ['Amsterdam', 'Washington', 'Sydney', 'Beijing', 'Cairo']
}
});
tagsinput 插件正在运行,但是,typeahead 不起作用。我怎么解决这个问题? 谢谢。
【问题讨论】: