aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/toggle.html
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2014-04-24 19:39:08 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2014-04-24 19:39:08 +0200
commit7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77 (patch)
treebac24883214efd7113f8e02097e2699f9cfdd95a /demos/effect/toggle.html
parente5008c2de1f08810d77a9d75cdcfe2b7af3d090f (diff)
downloadjquery-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.html3
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>