Can jQuery tell if the <option>s of a <select> element are currently displayed? [duplicate]
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Is there a way to determine if a <select> dropdown menu is open? My customer would like me to display some simple instructions once the user interacts with our <select> element in such a way as to cause the <option> list to drop down (or "drop up", I suppose, since some browsers open upwards if there is not much room beneath the <select> box). And then the instructions should disappear again once the user has