jQuery UI Examples - Button
Enhances standard form elements (such as buttons, inputs, and anchors) with themeable buttons with appropriate hover and active styles.
For more details about the button widget, see the API documentation Button Widget。
Default functionality
Examples of markup that can be used for buttons: a button element, an input element of type submit, and an anchor.
jQuery UI 按钮(Button) - 默认功能
一个锚
Checkbox
Displays checkboxes as toggle buttons through the button widget. The label element associated with the checkbox serves as the button text.
This example calls on a common container .buttonset(), demonstrating three checkboxes displayed as buttons.
jQuery UI 按钮(Button) - 复选框
Icon
Various buttons with combinations of text and icons
jQuery UI 按钮(Button) - 图标
Radio buttons
Three radio buttons turned into a set of buttons.
jQuery UI 按钮(Button) - 单选
Split button
jQuery UI 按钮(Button) - 分割按钮
Toolbar
A toolbar for a multimedia player. Look at the basic markup: some button elements, the Shuffle button is an input of type checkbox, and the Repeat options are three inputs of type radio.
jQuery UI 按钮(Button) - 工具栏