1

Hello I have changed the bits in the configuration but the drop down still doesn't show the places. There are still a bunch of TODOs. Can someone help please? Thank you.

    // configure typeahead
// https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md
$("#q").typeahead({
    autoselect: true,
    highlight: true,
    minLength: 1
},
{
    source: search,
    templates: {
        empty: "no places found yet",
        suggestion: _.template("<p><%- place_name %>, <%- admin_name1 %></p>")
    }
});
1

Have you seen this post?

Pset8, modified value of suggestion, still not working

It suggests clearing the browser cache. You can do that with a shift-reload or a ctrl-F5.

1
  • Yes it worked! Thank you! – Florence Wu Nov 26 '15 at 3:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .