Check out a free preview of the full jQuery Plugins and jQuery UI course:
The "Button Widget" Lesson is part of the full, jQuery Plugins and jQuery UI course featured in this preview video. Here's what you'd learn in this lesson:

This widget can be applied to regular button elements, anchors or input of any type submitted, including checkboxes and radio buttons. For checkboxes and radio buttons, the “buttonset” method also provides visual grouping, instead of only styling each individual button. “Icon” option has pri. (left) and sec. (right) icons for use together, use existing text, hidden or be overridden using the “label” option. The widget method comes in handy, as the original markup might not match the transformed “button” markup. For a radio button, you will be able to access the “label” element serving as the visual part of the button.

Get Unlimited Access Now