aboutsummaryrefslogtreecommitdiffstats
path: root/demos/button/splitbutton.html
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-04-08 23:03:35 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-04-08 23:03:35 +0200
commit9230b7263b90dfc3fcb4a309b549332dee6dcba4 (patch)
tree9e8ea3844386b841b10c521ff3fe5ab0c4c1e43b /demos/button/splitbutton.html
parent1a89b6ee2f9f02fd92d9ec3ee663b7dd237d3d15 (diff)
parentffc29bba052e4bc8b84e4c2e16036140148b6f9c (diff)
downloadjquery-ui-9230b7263b90dfc3fcb4a309b549332dee6dcba4.tar.gz
jquery-ui-9230b7263b90dfc3fcb4a309b549332dee6dcba4.zip
Merge branch 'master' into tooltip
Diffstat (limited to 'demos/button/splitbutton.html')
-rw-r--r--demos/button/splitbutton.html28
1 files changed, 15 insertions, 13 deletions
diff --git a/demos/button/splitbutton.html b/demos/button/splitbutton.html
index b42fe520a..7e4d66038 100644
--- a/demos/button/splitbutton.html
+++ b/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>