Search Dropdown using array


#1

How to create search dropdown with array of strings ??

HTML:

JS:
var content = [‘Horse’,‘Cow’];
$(’.ui.search’).search({
source : content
});