aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/checkboxradio/checkboxradio.html
blob: 536d4ec55c55fd3fcd144f86b2fc741c12d8a742 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>jQuery UI Checkboxradio Test Suite</title>

	<script src="../../../external/requirejs/require.js"></script>
	<script src="../../lib/css.js" data-modules="core button checkboxradio"></script>
	<script src="../../lib/bootstrap.js" data-widget="button"></script>
</head>
<body>

<div id="qunit"></div>
<div id="qunit-fixture">

<div id="radio0">
	<input type="radio" id="radio01" name="radio" checked="checked"><label for="radio01">Choice 1</label>
	<input type="radio" id="radio02" name="radio"><label for="radio02">Choice 2</label>
	<input type="radio" id="radio03" name="radio"><label for="radio03">Choice 3</label>
</div>
<form id="form1">
	<div id="radio1">
		<input type="radio" id="radio11" name="radio"><label for="radio11">Choice 1</label>
		<input type="radio" id="radio12" name="radio"><label for="radio12">Choice 2</label>
		<input type="radio" id="radio13" name="radio" checked="checked"><label for="radio13">Choice 3</label>
	</div>
</form>
<form id="form2">
	<div id="radio2">
		<input type="radio" id="radio21" name="radio"><label for="radio21">Choice 1</label>
		<input type="radio" id="radio22" name="radio"><label for="radio22">Choice 2</label>
		<input type="radio" id="radio23" name="radio" checked="checked"><label for="radio23">Choice 3</label>
	</div>
</form>
<form>
	<div id="radio3">
		<input type="radio" id="radio31" name="data['Page']['parse']"><label for="radio31">Choice 1</label>
		<input type="radio" id="radio32" name="data['Page']['parse']" checked="checked"><label for="radio32">Choice 2</label>
		<input type="radio" id="radio33" name="data['Page']['parse']"><label for="radio33">Choice 3</label>
	</div>
</form>

<input type="checkbox" id="check"><label for="check">Toggle</label>
<input type="checkbox" id="check2"><label for="check2">Checkbox</label>
<label for="checkbox-method-refresh" id="checkbox-method-refresh-label">checkbox refresh</label>
<input type="checkbox" id="checkbox-method-refresh">
<label for="checkbox-method-destroy" class="bar" id="checkbox-method-destroy-label">checkbox refresh</label>
<input type="checkbox" class="foo" id="checkbox-method-destroy">
<label for="checkbox-method-disable">checkbox refresh</label>
<input type="checkbox" class="foo" id="checkbox-method-disable">

<label for="radio-method-refresh" id="radio-method-refresh-label">radio refresh</label>
<input type="radio" id="radio-method-refresh">
<label for="radio-method-destroy" class="bar" id="radio-method-destroy-label">radio refresh</label>
<input type="radio" class="foo" id="radio-method-destroy">
<label for="radio-method-disable">radio refresh</label>
<input type="radio" class="foo" id="radio-method-disable">

<label for="checkbox-option-disabled">checkbox disabled</label>
<input type="checkbox" class="foo" id="checkbox-option-disabled">
<label for="checkbox-option-icon">checkbox icon</label>
<input type="checkbox" class="foo" id="checkbox-option-icon">
<label for="checkbox-option-label">checkbox label<input type="checkbox" class="foo" id="checkbox-option-label"></label>
<label>
	<input type="checkbox" id="label-with-no-for">
</label>
<label>
	<input type="checkbox" id="label-with-no-for-with-html">
	<strong>Hi</strong>, <em>I'm a label</em>
</label>
<label>
	<input type="checkbox" id="label-with-no-for-with-text">
	Hi, I'm a label
</label>
<label>
	<input type="checkbox" id="label-with-no-for-with-html-like-text">
	&lt;em&gt;Hi, I'm a label&lt;/em&gt;
</label>

<form id="form3"></form>
<input type="radio" name="crazy-form" id="crazy-form-1" form="form3" checked="checked">
<label for="crazy-form-1">Choice 1</label>
<input type="radio" name="crazy-form" id="crazy-form-2" form="form3">
<label for="crazy-form-2">Choice 2</label>

</div>
</body>
</html>