Created a dropDown for classification

Hi Ines,

I created a dropDown List using this js code:

function createList(list){

		var dList = document.createElement('select');

		list.forEach(item =>{
			var dOption = document.createElement('option');
			dOption.setAttribute('text', item);
			dOption.innerText = item;
		return dList

l = ["one", "two", "THREE"];
var list = createList(l)
var container = document.getElementsByClassName('container')[0];

Everything worked fine! I tried to add a search bar to this dropDown List and nothing happened. This is what I added to the head of my page in order to do that.

<link href="" rel="stylesheet" />
	<script src=""></script>
	<script src=""></script>
	<script type="text/javascript">
		$(document).ready(function() {

My broser does not show any errors. Am I doing it wrong ?

Hi! I'm not sure I can help with this, as it comes down to arbitrary specifics of jQuery and the jQuery plugin you're using. Are you sure the tags are present in the <head> and executed? You might want to use JS to add them and use the prodigymount listener to make sure Prodigy is ready before you try to access HTML content in the annotation cards.

Maybe this is also a bit overkill and a simpler <datalist> would be better for this use case?