diff options
Diffstat (limited to 'demos/button')
-rw-r--r-- | demos/button/default.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/button/default.html b/demos/button/default.html index f092a5375..700c64bcc 100644 --- a/demos/button/default.html +++ b/demos/button/default.html @@ -12,6 +12,8 @@ <script type="text/javascript"> $(function() { $("button, input:submit, a", ".demo").button(); + + $("a", ".demo").click(function() { return false; }); }); </script> <style> @@ -24,9 +26,9 @@ <button>A button element</button> - <input type="submit" value="A submit button"> + <input type="submit" value="A submit button"/> - <a href="javascript:void(0)">An anchor</a> + <a href="#">An anchor</a> </div><!-- End demo --> |