Project

General

Profile

1 5669 leinfelder
<!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.4.3.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
		$( "button, input:submit, a", ".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="#">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>