title: Get selected items value for Bootstrap's typeahead
body: <p>Bootstrap just implemented a neat autocomplete feature called typeahead. I am having trouble getting the appropriate value for the text input.</p>
  
  <p>For instance, I might have the following:</p>
  
  <pre><code>$('input').on('change', function(){
      console.log($(this).val());
  });
  </code></pre>
  
  <p>This does not appear to capture the selected value. Does anyone know how to get the selected value using typeahead with Bootstrap?</p>