Search with custom suggestion list

This example demonstrates the Nokia Places API search interface with custom styled suggestions.

It displays a text field, where you can enter a search term. As you type, a list of suggestions will appear below search box

The body of the HTML page contains an element that contains two elements: the search box and a list element to displays the suggestions.

The script of the example defines a template, providing an element for the search box and an element for a list of suggestions.

The implementation obtains an Nokia Places API search box object, by calling nokia.places.SearchBox(), passing to it: