<p dir="auto">bootstrap not validated what the hell with this......<br>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://twitter.github.com/bootstrap" rel="nofollow">http://jigsaw.w3.org/css-validator/validator?uri=http://twitter.github.com/bootstrap</a></p>
<p dir="auto">I didn't find how to update data-source with typeahead. I tried to make it work simply with a new typehead() call and new values, but it does not update at all.</p>
<p dir="auto">The first call works perfectly :) but the second one does.. nothing :(</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$('select').change(function() {
    var id = $(this).val();
    $.getJSON(url + id, function(data) {
        $('input').typeahead({
            source: data
        });
        $('input.hide').slideDown(120);
    });
});"><pre class="notranslate"><code class="notranslate">$('select').change(function() {
    var id = $(this).val();
    $.getJSON(url + id, function(data) {
        $('input').typeahead({
            source: data
        });
        $('input.hide').slideDown(120);
    });
});
</code></pre></div>