I want this script to add an option to the list.
When you open the list I want the options to be test and hello
test
hello
What am I doing wro
var select = document.getElelmentById('test'); var option = document.createElement('option'); option.value = 'value'; select.appendChild(option)