Rev | Line | |
---|
[766] | 1 | <!DOCTYPE html> |
---|
| 2 | <html lang="en"> |
---|
| 3 | <head> |
---|
| 4 | <meta charset="utf-8"> |
---|
| 5 | <title>jQuery UI Button - Default functionality</title> |
---|
| 6 | <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css"> |
---|
| 7 | <script src="../../jquery-1.6.2.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"> |
---|
| 12 | <script> |
---|
| 13 | $(function() { |
---|
| 14 | $( "input:submit, a, button", ".demo" ).button(); |
---|
| 15 | $( "a", ".demo" ).click(function() { return false; }); |
---|
| 16 | }); |
---|
| 17 | </script> |
---|
| 18 | </head> |
---|
| 19 | <body> |
---|
| 20 | |
---|
| 21 | <div class="demo"> |
---|
| 22 | |
---|
| 23 | <button>A button element</button> |
---|
| 24 | |
---|
| 25 | <input type="submit" value="A submit button"/> |
---|
| 26 | |
---|
| 27 | <a href="default.html#">An anchor</a> |
---|
| 28 | |
---|
| 29 | </div><!-- End demo --> |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | <div class="demo-description"> |
---|
| 34 | <p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p> |
---|
| 35 | </div><!-- End demo-description --> |
---|
| 36 | |
---|
| 37 | </body> |
---|
| 38 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.