5 <title>jQuery UI Button - Default functionality</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.9.1.js"></script>
8 <script src="../../ui/jquery.ui.core.js"></script>
9 <script src="../../ui/jquery.ui.widget.js"></script>
10 <script src="../../ui/jquery.ui.button.js"></script>
11 <link rel="stylesheet" href="../demos.css">
14 $( "input[type=submit], a, button" )
16 .click(function( event ) {
17 event.preventDefault();
24 <button>A button element</button>
26 <input type="submit" value="A submit button">
28 <a href="#">An anchor</a>
30 <div class="demo-description">
31 <p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p>