diff options
author | maggiewachs <maggie@filamentgroup.com> | 2010-04-16 14:24:49 -0400 |
---|---|---|
committer | maggiewachs <maggie@filamentgroup.com> | 2010-04-16 14:24:49 -0400 |
commit | 970ed9a67a533ab44b184babf52100dfbcfa7c96 (patch) | |
tree | 423aa90362d991c62af87ec7b1a094706f46cdcd /demos/button | |
parent | 4ffe07457cb21332e9a33c319c1f1f610e532a27 (diff) | |
parent | d1033cc2b79067f31767bfe0bb1f9a761dae9b3f (diff) | |
download | jquery-ui-970ed9a67a533ab44b184babf52100dfbcfa7c96.tar.gz jquery-ui-970ed9a67a533ab44b184babf52100dfbcfa7c96.zip |
Merge branch 'master' of github.com:jquery/jquery-ui
Diffstat (limited to 'demos/button')
-rw-r--r-- | demos/button/splitbutton.html | 28 |
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> |