How can you tell if an HTML dropdown is displaying the list of options
- by Ross Goddard
Is there a way to determine if a given drop down is currently active and displaying it's list of options?
I am currently binding to the mousedown event of the dropdown and populating the options when the user clicks on it. Unfortunately the mousedown event fires when the user selects the option as well.
If I can determine if the drop down is already displaying it's options, then I can skip populating the options.