Nam*_*mbi 5 javascript twitter-bootstrap
type-head功能是否支持twitter-bootstrap 2.0.3版中的远程数据源?
打印头功能的链接 http://twitter.github.com/bootstrap/javascript.html#typeahead
你试过了吗:
$('.typeahead').typeahead({
source: function (query, typeahead) {
return $.post('/typeahead', { query: query }, function (data) {
return typeahead.process(data);
});
}
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6117 次 |
| 最近记录: |