YUI recommends YUI 3.

YUI 2 has been deprecated since 2011. This site acts as an archive for files and documentation.

Using A Menu Button To Replace A <select> Element

This example illustrates how to use Button to mimic the behavior of an HTML <select> element.

With A Default Value
Using Existing Markup
Lazy load on
Lazy load off
Without Existing Markup
Lazy load on
Lazy load off
Without A Default Value
Using Existing Markup
Lazy load on
Lazy load off
Without Existing Markup
Lazy load on
Lazy load off