/[projects]/misc/horsensspejder-web/jquery/jquery-ui-1.10.3/demos/button/default.html
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/jquery-ui-1.10.3/demos/button/default.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: text/html
File size: 896 byte(s)
initial import
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.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">
12 <script>
13 $(function() {
14 $( "input[type=submit], a, button" )
15 .button()
16 .click(function( event ) {
17 event.preventDefault();
18 });
19 });
20 </script>
21 </head>
22 <body>
23
24 <button>A button element</button>
25
26 <input type="submit" value="A submit button">
27
28 <a href="#">An anchor</a>
29
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>
32 </div>
33 </body>
34 </html>

  ViewVC Help
Powered by ViewVC 1.1.20