Reputation: 10502
I have this example directly from typeahead.js
website.
http://jsfiddle.net/CNMfL/163/
It is showing Uncaught Error: one of local, prefetch, or remote is required
. What i am missing ?
I tried by changing source
to local
vice-versa, as suggested in some solutions but didnt work.
Upvotes: 0
Views: 688
Reputation: 186
Add to the HTML part:
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js"></script>
Remove the "@import url" parts
Upvotes: 2