A library-independent way to replace conventional select elements.