We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34a71ea commit f29befbCopy full SHA for f29befb
demos/button/splitbutton.html
@@ -11,21 +11,23 @@
11
<link type="text/css" href="../demos.css" rel="stylesheet" />
12
<script type="text/javascript">
13
$(function() {
14
- $("#rerun").button().click(function() {
15
- alert("Running the last action");
16
- })
+ $("#rerun")
+ .button()
+ .click( function() {
17
+ alert( "Running the last action" );
18
+ })
19
.next()
- .button({
- text: false,
20
- icons: {
21
- primary: "ui-icon-triangle-1-s"
22
- }
23
24
- .click(function() {
25
- alert("Could display a menu to select an action");
26
+ .button( {
+ text: false,
+ icons: {
+ primary: "ui-icon-triangle-1-s"
+ }
27
+ alert( "Could display a menu to select an action" );
28
29
.parent()
- .buttonset();
30
+ .buttonset();
31
});
32
</script>
33
<style>
0 commit comments