Typeahead : Setting up Remote-Datasets Remote DataSets

The setup is quite self-explanatory:-

 

References:

Typeahead Docs – Datasets : https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#datasets

jQuery $.ajax() : https://api.jquery.com/jquery.ajax/

Stackoverflow: https://stackoverflow.com/questions/12621823/ajax-call-populate-typeahead-bootstrap/38300862#38300862