Twitter Typeahead works only with data-source

187 Views Asked by At

Twitter Bootstrap data-source only working. No Javascript working :(

I tried many tutorial but all are not working.

Here is my code

<script type="text/javascript">
$('#lookup_input').typeahead({                                
  name: 'Search',                                                          
  prefetch: 'data.json',
  limit: 10                                                                   
});                                                
</script>

any simple typeahead example?

0

There are 0 best solutions below