Button: some demo code formatting

This commit is contained in:
unknown 2010-04-06 22:50:27 +02:00
parent 34a71eab7b
commit f29befb40c

View File

@ -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();