title: Flask and Typeahead (bootstrap autocomplete js)
body: <p>Trying to get typeahead to work in flask, even simplest code (following <a href="http://blattchat.com/2013/01/09/bootstrap-typeahead/" rel="nofollow" title="this tutorial">this tutorial</a>) doesn't respond with a list of options/highlighted possible items. </p>
  
  <p>I only have a render_template call from the flask main.py, with the corresponding HTML looking like:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;script src="{{ url_for('static',filename='jquery.js') }}"&gt;&lt;/script&gt;
      &lt;link href="{{ url_for('static',filename='bootstrap.css') }}" rel="stylesheet" type="text/css" /&gt;
      &lt;script src="{{ url_for('static',filename='typeahead.js') }}"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
      &lt;div style="margin: 50px 50px"&gt;
          &lt;label for="product_search"&gt;Product Search: &lt;/label&gt;
          &lt;input id="product_search" type="text" data-provide="typeahead" data-source='["Deluxe Bicycle", "Super Deluxe Trampoline", "Super Duper Scooter"]'&gt;
      &lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>This code is probably the simplest possible implementation with a local data-source.
  Note- I tried changing the scripts initialization order (jquery first, bootstrap.css first, etc..), that didn't help.</p>
  
  <p>Are there any known issues with Flask/Typeahead? Any idea on what am I missing?</p>