aboutsummaryrefslogtreecommitdiffstats
path: root/demos/button/default.html
blob: 700c64bcc8d1b75ad37b316d1a80529b1b0fa6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>jQuery UI Button - Default demo</title>
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.button.js"></script>
	<link type="text/css" href="../demos.css" rel="stylesheet" />
	<script type="text/javascript">
	$(function() {
		$("button, input:submit, a", ".demo").button();
		
		$("a", ".demo").click(function() { return false; });
	});
	</script>
	<style>
		
	</style>
</head>
<body>

<div class="demo">

	<button>A button element</button>
	
	<input type="submit" value="A submit button"/>
	
	<a href="#">An anchor</a>

</div><!-- End demo -->



<div class="demo-description">

<p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p>

</div><!-- End demo-description -->



</body>
</html>