Use element.selectedOptions if available.