aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/hide.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/hide.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/hide.html')
-rw-r--r--demos/effect/hide.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/effect/hide.html b/demos/effect/hide.html
index 678aea1e3..75fdd01b3 100644
--- a/demos/effect/hide.html
+++ b/demos/effect/hide.html
@@ -54,7 +54,6 @@
// set effect from select menu value
$( "#button" ).click(function() {
runEffect();
- return false;
});
});
</script>
@@ -86,7 +85,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>