Single quote array for typeahead
item.php
// Get Catalog
$item = new Item($pdo);
$item_list = $item->get_items();
echo json_encode($item_list);
typeahead-data.js
var items = ['Item One', 'Item Two', 'Item Million'];
How do I use the data from jQuery to populate the items instead of hard coding?
$.getJSON('item.php', function (items) {
var typeahead_items = ????;
});