Detecting when the select element's dropdown list is open and/or closed

Giganews Newsgroups
Subject: Detecting when the select element's dropdown list is open and/or closed
Posted by:  REar…@jswcoinc.com (Rod Early)
Date: 9 Sep 2003

I need to know when the select element's dropdown list is opened (as
when the user clicks on the arrow or does ALT-downarrow from the
keyboard).  Similarly, I need to known when the dropdown list closes.

The closing of the dropdown list can happen without changing the
dropdown, hence the onchange event is not a sure way to determine that
the dropdown list closed.

Is this possible in Internet Explorer?

Thanks,
Rod

Replies