YUI recommends YUI 3.

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

Reset Buttons

This example demonstrates different ways to create a Button that functions like an HTML reset button (<input type="reset"/> and <button type="reset"/>).

Info
Reset Buttons
From Markup
From JavaScript