1 |
<!doctype html> |
2 |
<html lang="en"> |
3 |
<head> |
4 |
<meta charset="utf-8"> |
5 |
<title>jQuery UI Button Test Suite</title> |
6 |
|
7 |
<script src="../../jquery.js"></script> |
8 |
<link rel="stylesheet" href="../../../external/qunit.css"> |
9 |
<script src="../../../external/qunit.js"></script> |
10 |
<script src="../../jquery.simulate.js"></script> |
11 |
<script src="../testsuite.js"></script> |
12 |
<script> |
13 |
TestHelpers.loadResources({ |
14 |
css: [ "ui.core", "ui.button" ], |
15 |
js: [ |
16 |
"ui/jquery.ui.core.js", |
17 |
"ui/jquery.ui.widget.js", |
18 |
"ui/jquery.ui.button.js" |
19 |
] |
20 |
}); |
21 |
</script> |
22 |
|
23 |
<script src="button_common.js"></script> |
24 |
<script src="button_core.js"></script> |
25 |
<script src="button_events.js"></script> |
26 |
<script src="button_methods.js"></script> |
27 |
<script src="button_options.js"></script> |
28 |
|
29 |
<script src="../swarminject.js"></script> |
30 |
</head> |
31 |
<body> |
32 |
|
33 |
<h1 id="qunit-header">jQuery UI Button Test Suite</h1> |
34 |
<h2 id="qunit-banner"></h2> |
35 |
<div id="qunit-testrunner-toolbar"></div> |
36 |
<h2 id="qunit-userAgent"></h2> |
37 |
<ol id="qunit-tests"></ol> |
38 |
<div id="qunit-fixture"> |
39 |
|
40 |
<div><button id="button" class="foo">Label</button></div> |
41 |
|
42 |
<div id="radio0" style="margin-top: 2em;"> |
43 |
<input type="radio" id="radio01" name="radio" checked="checked"><label for="radio01">Choice 1</label> |
44 |
<input type="radio" id="radio02" name="radio"><label for="radio02">Choice 2</label> |
45 |
<input type="radio" id="radio03" name="radio"><label for="radio03">Choice 3</label> |
46 |
</div> |
47 |
<form> |
48 |
<div id="radio1" style="margin-top: 2em;"> |
49 |
<input type="radio" id="radio11" name="radio"><label for="radio11">Choice 1</label> |
50 |
<input type="radio" id="radio12" name="radio" checked="checked"><label for="radio12">Choice 2</label> |
51 |
<input type="radio" id="radio13" name="radio"><label for="radio13">Choice 3</label> |
52 |
</div> |
53 |
</form> |
54 |
<form> |
55 |
<div id="radio2" style="margin-top: 2em;"> |
56 |
<input type="radio" id="radio21" name="radio"><label for="radio21">Choice 1</label> |
57 |
<input type="radio" id="radio22" name="radio"><label for="radio22">Choice 2</label> |
58 |
<input type="radio" id="radio23" name="radio" checked="checked"><label for="radio23">Choice 3</label> |
59 |
</div> |
60 |
</form> |
61 |
<form> |
62 |
<div id="radio3"> |
63 |
<input type="radio" id="radio31" name="data['Page']['parse']"><label for="radio31">Choice 1</label> |
64 |
<input type="radio" id="radio32" name="data['Page']['parse']" checked="checked"><label for="radio32">Choice 2</label> |
65 |
<input type="radio" id="radio33" name="data['Page']['parse']"><label for="radio33">Choice 3</label> |
66 |
</div> |
67 |
</form> |
68 |
|
69 |
<input type="checkbox" id="check"><label for="check">Toggle</label> |
70 |
<input type="checkbox" id="check2"><label for="check2">Checkbox</label> |
71 |
|
72 |
<div><input id="submit" type="submit" value="Label"></div> |
73 |
|
74 |
</div> |
75 |
</body> |
76 |
</html> |