Expecting an improvement in Dropdown list box

There is no option to check the values present in an dropdown list box. It would be better if I had a function which return an array of list of elements present in a dropdown list box.

This works with SELECT elements containing OPTION elements: