2011-08-03 21:12:44 +00:00
|
|
|
<!doctype html>
|
2010-01-20 14:00:14 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2011-08-03 21:12:44 +00:00
|
|
|
<meta charset="utf-8">
|
2010-01-20 14:00:14 +00:00
|
|
|
<title>jQuery UI Button Test Suite</title>
|
|
|
|
|
2011-07-28 11:34:31 +00:00
|
|
|
<script src="../../jquery.js"></script>
|
2014-06-10 11:55:45 +00:00
|
|
|
<link rel="stylesheet" href="../../../external/qunit/qunit.css">
|
|
|
|
<script src="../../../external/qunit/qunit.js"></script>
|
2014-08-22 21:01:50 +00:00
|
|
|
<script src="../../../external/jquery-simulate/jquery.simulate.js"></script>
|
2012-04-23 14:43:01 +00:00
|
|
|
<script src="../testsuite.js"></script>
|
2015-02-03 00:25:52 +00:00
|
|
|
<script src="../../../external/qunit-assert-classes/qunit-assert-classes.js"></script>
|
2011-10-28 19:58:33 +00:00
|
|
|
<script>
|
2012-04-23 14:43:01 +00:00
|
|
|
TestHelpers.loadResources({
|
2013-12-02 18:36:12 +00:00
|
|
|
css: [ "core", "button" ],
|
2011-10-28 19:58:33 +00:00
|
|
|
js: [
|
2013-12-02 18:36:12 +00:00
|
|
|
"ui/core.js",
|
|
|
|
"ui/widget.js",
|
|
|
|
"ui/button.js"
|
2011-10-28 19:58:33 +00:00
|
|
|
]
|
|
|
|
});
|
|
|
|
</script>
|
2010-01-20 14:00:14 +00:00
|
|
|
|
2012-04-23 14:15:17 +00:00
|
|
|
<script src="button_common.js"></script>
|
2011-08-03 21:12:44 +00:00
|
|
|
<script src="button_core.js"></script>
|
|
|
|
<script src="button_events.js"></script>
|
|
|
|
<script src="button_methods.js"></script>
|
|
|
|
<script src="button_options.js"></script>
|
|
|
|
|
|
|
|
<script src="../swarminject.js"></script>
|
2010-01-20 14:00:14 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2014-02-20 16:02:23 +00:00
|
|
|
<div id="qunit"></div>
|
2011-02-23 11:46:13 +00:00
|
|
|
<div id="qunit-fixture">
|
2010-02-25 11:09:39 +00:00
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
<div><button id="button" class="foo">Label</button></div>
|
2010-01-20 14:00:14 +00:00
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
<div id="radio0" style="margin-top: 2em;">
|
|
|
|
<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>
|
2014-04-01 18:42:38 +00:00
|
|
|
<div id="checkbox0">
|
|
|
|
<input type="checkbox" id="checkbox01" name="checkbox"><label for="checkbox01">Choice 1</label>
|
|
|
|
<input type="checkbox" id="checkbox02" name="checkbox"><label for="checkbox02">Choice 2</label>
|
|
|
|
<input type="checkbox" id="checkbox03" name="checkbox"><label for="checkbox03">Choice 3</label>
|
|
|
|
</div>
|
2011-08-03 21:12:44 +00:00
|
|
|
<form>
|
|
|
|
<div id="radio1" style="margin-top: 2em;">
|
|
|
|
<input type="radio" id="radio11" name="radio"><label for="radio11">Choice 1</label>
|
|
|
|
<input type="radio" id="radio12" name="radio" checked="checked"><label for="radio12">Choice 2</label>
|
|
|
|
<input type="radio" id="radio13" name="radio"><label for="radio13">Choice 3</label>
|
2010-01-20 14:00:14 +00:00
|
|
|
</div>
|
2011-08-03 21:12:44 +00:00
|
|
|
</form>
|
|
|
|
<form>
|
|
|
|
<div id="radio2" style="margin-top: 2em;">
|
|
|
|
<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>
|
2012-11-19 13:37:41 +00:00
|
|
|
<form>
|
2012-11-20 17:52:26 +00:00
|
|
|
<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>
|
2010-01-20 14:00:14 +00:00
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
<input type="checkbox" id="check"><label for="check">Toggle</label>
|
2012-11-27 01:14:58 +00:00
|
|
|
<input type="checkbox" id="check2"><label for="check2">Checkbox</label>
|
2010-01-20 14:00:14 +00:00
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
<div><input id="submit" type="submit" value="Label"></div>
|
|
|
|
|
2013-04-11 18:03:51 +00:00
|
|
|
<button id="button1">Button</button>
|
|
|
|
|
2011-08-03 21:12:44 +00:00
|
|
|
</div>
|
2010-01-20 14:00:14 +00:00
|
|
|
</body>
|
|
|
|
</html>
|