Probably the simplest implementation of the dropdown.
Menu type.
Internal select/menu messages.
Initialize a menu object. As the browser focus is used, menu requires unique identifier.
Renders the menu. Attributes are used to style the dropdown container. Second parameter is an arbitrary list of menut Item's.
Html link menu item. Click/Enter triggers url redirection.
Button like menu. Use it when you need select mode - no url redirection but value collection. This is used with onSelect attributes.
Menu control. Add that set of attributes to the element controling the menu: button, input, ...
Menu item type.