hello guys!
bootstrap's typeahead doesn't work in my hands.

<script type="text/javascript"
src="/bootstrap/js/bootstrap-typeahead.js"></script> (from git)

<script type="text/javascript">
            var mas = ['Red', 'Green', 'Blue];

            $('.typeahead').typeahead({
                 source: mas
            })
</script>

<td>
  <div>
       <input type="text" name="searchWord" style="width: 130px"
placeholder="search" data-provide="typeahead"  />
  </div>
</td>

what i'm doing wrong?
thanks for any suggestions

Reply via email to