Looks like you are missing a single quote at the end of "Blue" which
may be causing an error.

On Feb 26, 3:02 am, Anuar Balgimbayev <[email protected]>
wrote:
> 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