O'Reilly logo

YUI 2.8 Learning the Library by Dan Wellman, Daniel Barreiro

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Meet the Button Control

The Button Control gives you the ability to easily create a range of innovative different button types that extend standard HTML form buttons and allow for much more advanced behavior than just submitting or resetting a form.

The Button family consists of eight individual Button types, each with its own advanced behavior:

  • A basic push button that acts like a normal web button but looks much better.
  • A link button that navigates visitors to a specified URL when clicked.
  • A submit button that automatically submits the data entered into its parent form.
  • A reset button that automatically clears any input entered into its parent form.
  • A checkbox button that shows as a two-state button but acts like a standard checkbox from a programming ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required