I want to run a javascript function when a dropdownlist get focus. I tried a few things like:
document.getElementById("DropDownListId_hidden").addEventListener("focus", isExistingGroup);
and
document.getElementById("DropDownListId").addEventListener("focus", isExistingGroup);
This works for an ejs-textbox but not for an ejs-dropdownlist.
Any suggestions?
thanks
Peter
Below an image of the dropdown that I want to start a function when getting focus.