| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>jQuery UI Checkboxradio Test Suite</title> |
| 6 | |
| 7 | <script src="../../../external/requirejs/require.js"></script> |
| 8 | <script src="../../lib/css.js" data-modules="core button checkboxradio"></script> |
| 9 | <script src="../../lib/bootstrap.js" data-widget="button"></script> |
| 10 | </head> |
| 11 | <body> |
| 12 | |
| 13 | <div id="qunit"></div> |
| 14 | <div id="qunit-fixture"> |
| 15 | |
| 16 | <div id="radio0"> |
| 17 | <input type="radio" id="radio01" name="radio" checked="checked"><label for="radio01">Choice 1</label> |
| 18 | <input type="radio" id="radio02" name="radio"><label for="radio02">Choice 2</label> |
| 19 | <input type="radio" id="radio03" name="radio"><label for="radio03">Choice 3</label> |
| 20 | </div> |
| 21 | <form id="form1"> |
| 22 | <div id="radio1"> |
| 23 | <input type="radio" id="radio11" name="radio"><label for="radio11">Choice 1</label> |
| 24 | <input type="radio" id="radio12" name="radio"><label for="radio12">Choice 2</label> |
| 25 | <input type="radio" id="radio13" name="radio" checked="checked"><label for="radio13">Choice 3</label> |
| 26 | </div> |
| 27 | </form> |
| 28 | <form id="form2"> |
| 29 | <div id="radio2"> |
| 30 | <input type="radio" id="radio21" name="radio"><label for="radio21">Choice 1</label> |
| 31 | <input type="radio" id="radio22" name="radio"><label for="radio22">Choice 2</label> |
| 32 | <input type="radio" id="radio23" name="radio" checked="checked"><label for="radio23">Choice 3</label> |
| 33 | </div> |
| 34 | </form> |
| 35 | <form> |
| 36 | <div id="radio3"> |
| 37 | <input type="radio" id="radio31" name="data['Page']['parse']"><label for="radio31">Choice 1</label> |
| 38 | <input type="radio" id="radio32" name="data['Page']['parse']" checked="checked"><label for="radio32">Choice 2</label> |
| 39 | <input type="radio" id="radio33" name="data['Page']['parse']"><label for="radio33">Choice 3</label> |
| 40 | </div> |
| 41 | </form> |
| 42 | |
| 43 | <input type="checkbox" id="check"><label for="check">Toggle</label> |
| 44 | <input type="checkbox" id="check2"><label for="check2">Checkbox</label> |
| 45 | <label for="checkbox-method-refresh" id="checkbox-method-refresh-label">checkbox refresh</label> |
| 46 | <input type="checkbox" id="checkbox-method-refresh"> |
| 47 | <label for="checkbox-method-destroy" class="bar" id="checkbox-method-destroy-label">checkbox refresh</label> |
| 48 | <input type="checkbox" class="foo" id="checkbox-method-destroy"> |
| 49 | <label for="checkbox-method-disable">checkbox refresh</label> |
| 50 | <input type="checkbox" class="foo" id="checkbox-method-disable"> |
| 51 | |
| 52 | <label for="radio-method-refresh" id="radio-method-refresh-label">radio refresh</label> |
| 53 | <input type="radio" id="radio-method-refresh"> |
| 54 | <label for="radio-method-destroy" class="bar" id="radio-method-destroy-label">radio refresh</label> |
| 55 | <input type="radio" class="foo" id="radio-method-destroy"> |
| 56 | <label for="radio-method-disable">radio refresh</label> |
| 57 | <input type="radio" class="foo" id="radio-method-disable"> |
| 58 | |
| 59 | <label for="checkbox-option-disabled">checkbox disabled</label> |
| 60 | <input type="checkbox" class="foo" id="checkbox-option-disabled"> |
| 61 | <label for="checkbox-option-icon">checkbox icon</label> |
| 62 | <input type="checkbox" class="foo" id="checkbox-option-icon"> |
| 63 | <label for="checkbox-option-label">checkbox label<input type="checkbox" class="foo" id="checkbox-option-label"></label> |
| 64 | <label> |
| 65 | <input type="checkbox" id="label-with-no-for"> |
| 66 | </label> |
| 67 | <label> |
| 68 | <input type="checkbox" id="label-with-no-for-with-html"> |
| 69 | <strong>Hi</strong>, <em>I'm a label</em> |
| 70 | </label> |
| 71 | <label> |
| 72 | <input type="checkbox" id="label-with-no-for-with-text"> |
| 73 | Hi, I'm a label |
| 74 | </label> |
| 75 | <label> |
| 76 | <input type="checkbox" id="label-with-no-for-with-html-like-text"> |
| 77 | <em>Hi, I'm a label</em> |
| 78 | </label> |
| 79 | |
| 80 | <form id="form3"></form> |
| 81 | <input type="radio" name="crazy-form" id="crazy-form-1" form="form3" checked="checked"> |
| 82 | <label for="crazy-form-1">Choice 1</label> |
| 83 | <input type="radio" name="crazy-form" id="crazy-form-2" form="form3"> |
| 84 | <label for="crazy-form-2">Choice 2</label> |
| 85 | |
| 86 | </div> |
| 87 | </body> |
| 88 | </html> |