Questions tagged [typeahead]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
121 views

hook up the results of the typeahead callback with handlebars.compile()

I've copied the function I found in mashup and it seems I'm stuck in the handlebars bit.My backend sends an array with jsonify(allWords) and my frontend receives it with asyncResults(data). I can ...
user avatar
  • 59
1 vote
1 answer
303 views

CS50 Final Project: Dropdown Menu / Typeaheads

For my final project (a website where people can write diaries and read others' diaries), I am trying to implementing a search box where the user may search usernames to read others' diaries, so I ...
user avatar
  • 121
0 votes
1 answer
188 views

Pset8: typeahead not working in js file※i am using python for solving this problem set

// Google Map var map; // markers for map var markers = []; // info window var info = new google.maps.InfoWindow(); // execute when the DOM is fully loaded $(function() { // styles for map ...
user avatar
0 votes
1 answer
135 views

Pset8 need help with suggestions

How can I use _.sortBy with _.template to sort the suggestions in typeahead? I have tried a lot of different things, is it even possible?
user avatar
0 votes
1 answer
57 views

pset8 postal code not greying out like the staff's

In suggestion: _.template, how do I get the postal code to be greyed out in the dropdown like the staff version?
user avatar
0 votes
2 answers
293 views

Pset8 typeahead not working

I've finished search and it appears to give the correct JSON output. When I display the map all the markers come up correctly but when I enter a new location or Postal code in the query box nothing ...
user avatar
1 vote
1 answer
74 views

The syntax "<%- place_name %>" in pset8

To me, it just magically insert the variable into the string for suggestion. I wonder what kind of the syntax is this, any reference? Thanks.
user avatar
0 votes
1 answer
100 views

Google Maps doesn't show map after cache cleared

While slowly implementing the solution for pset8, i wanted to check if the typeahead function was working well. It did not, and in some post i read that clearing the cache could just solve the problem....
user avatar