The HTML5 datalist tag allows you to create a text field with an autocomplete drop-down. So as the user types, they will see a list of suggestions. This will save you tons of time implementing a similar feature.