I created an element by
a = document.createElement("DIV");
a.setAttribute("class", "select-selected");
a.innerHTML = selElmnt.options[selElmnt.selectedIndex].innerHTML;
x[i].appendChild(a);
and when i try to get innerHtml of the Class select-selected
it returns "undefined"
The goal is to switch between Select Option depending the first Choice.
Thanks to the community of StackOverflow.