You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The HTMLSelectElement interface does not implement the selectedOptions property. This should be a collection of HTMLOptionElement which are currently selected and can be found in the spec here: http://www.w3.org/TR/html5/forms.html#the-select-element
Ideally you would want it to be typed so it only returns a HTMLOptionElement in a similar way to how NodeListOf would work but it does not seem like there is a HTMLCollectionOf interface (this also applies to the options property). Perhaps that should be added maybe I should raise a separate issue for that?
Activity
DanielRosenwasser commentedon Dec 16, 2015
Thanks Jonathon Smith (@crash-dive)!