YUI recommends YUI 3.

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

Replacing the content of a Button's Menu

This example illustrates how to replace the content of a Button's Menu on the fly.

Pizza Order Form
Pizza Type