mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Button: some demo code formatting
This commit is contained in:
parent
34a71eab7b
commit
f29befb40c
@ -11,18 +11,20 @@
|
||||
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
$("#rerun").button().click(function() {
|
||||
alert("Running the last action");
|
||||
$("#rerun")
|
||||
.button()
|
||||
.click( function() {
|
||||
alert( "Running the last action" );
|
||||
})
|
||||
.next()
|
||||
.button({
|
||||
.button( {
|
||||
text: false,
|
||||
icons: {
|
||||
primary: "ui-icon-triangle-1-s"
|
||||
}
|
||||
})
|
||||
.click(function() {
|
||||
alert("Could display a menu to select an action");
|
||||
.click( function() {
|
||||
alert( "Could display a menu to select an action" );
|
||||
})
|
||||
.parent()
|
||||
.buttonset();
|
||||
|
Loading…
Reference in New Issue
Block a user