Skip to content
Permalink
Browse files

Button: some demo code formatting

  • Loading branch information
jzaefferer committed Apr 6, 2010
1 parent 34a71ea commit f29befb40ca541b9fb774dcac6dddc4771eddfc7
Showing with 15 additions and 13 deletions.
  1. +15 −13 demos/button/splitbutton.html
@@ -11,21 +11,23 @@
<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({
text: false,
icons: {
primary: "ui-icon-triangle-1-s"
}
})
.click(function() {
alert("Could display a menu to select an action");
})
.button( {
text: false,
icons: {
primary: "ui-icon-triangle-1-s"
}
})
.click( function() {
alert( "Could display a menu to select an action" );
})
.parent()
.buttonset();
.buttonset();
});
</script>
<style>

0 comments on commit f29befb

Please sign in to comment.
You can’t perform that action at this time.