Convert you simple dropdown to super cool dropdown with Select2 jQuery library. Select2 comes with preloaded features like search, clear all, multiple selects, tagging, and many more event handlers.
Feel free to use modify and share.
I have written an article on this @ https://stackcoder.in/amp/posts/select2-dropdown
To read more articles on Fullstack Development / DevOps & Other interesting topics use this link https://stackcoder.in