diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 19:39:08 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 19:39:08 +0200 |
commit | 7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77 (patch) | |
tree | bac24883214efd7113f8e02097e2699f9cfdd95a /demos/effect/toggle.html | |
parent | e5008c2de1f08810d77a9d75cdcfe2b7af3d090f (diff) | |
download | jquery-ui-7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77.tar.gz jquery-ui-7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77.zip |
Button demo: Replace anchors with more appropriate buttons
Diffstat (limited to 'demos/effect/toggle.html')
-rw-r--r-- | demos/effect/toggle.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/effect/toggle.html b/demos/effect/toggle.html index 3af5536c1..5363abe49 100644 --- a/demos/effect/toggle.html +++ b/demos/effect/toggle.html @@ -62,7 +62,6 @@ // set effect from select menu value $( "#button" ).click(function() { runEffect(); - return false; }); }); </script> @@ -94,7 +93,7 @@ <option value="slide">Slide</option> </select> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> |