Check if Jquery and the typeahead plugin are loaded using Firbug for example
On Feb 26, 12:02 pm, 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
