Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I detect when a select box is closed?

I am using jquery and both blur and focusout functions require an extra click after the select box is closed to fire. Is there another way to detect when the select box is immediately closed?

like image 893
heero Avatar asked Jan 19 '26 09:01

heero


1 Answers

As @samsquanch and @bfavaretto point out in comments here, there seems to be no way to reliably detect, across the current browser generation, when a select list is closed. Which is mildly mind-boggling, but there you are.

like image 117
Ben Wheeler Avatar answered Jan 21 '26 21:01

Ben Wheeler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!