|
| 1 | +<html> |
| 2 | +<head> |
| 3 | + <title>We Leave From Here</title> |
| 4 | + |
| 5 | + <script type="text/javascript"> |
| 6 | + function changePage() { |
| 7 | + var newLocation = '/common/page/3'; |
| 8 | + window.location = newLocation; |
| 9 | + } |
| 10 | + </script> |
| 11 | +</head> |
| 12 | +<body> |
| 13 | +There should be a form here: |
| 14 | + |
| 15 | +<form method="get" action="resultPage.html" name="login"> |
| 16 | + <input type="email" id="email"/> |
| 17 | + <input type="number" id="age"/> |
| 18 | + <input type="submit" id="submitButton" value="Hello there"/> |
| 19 | +</form> |
| 20 | + |
| 21 | +<form method="get" action="resultPage.html" name="image"> |
| 22 | + <input type="image" id="imageButton" alt="click me!" src="button.png"/> |
| 23 | +</form> |
| 24 | + |
| 25 | +<form method="get" action="resultPage.html" name="optional" style="display: block"> |
| 26 | + Here's a checkbox: |
| 27 | + <input type="checkbox" id="checky" name="checky" value="furrfu"/> |
| 28 | + <input type="checkbox" id="checkedchecky" name="checkedchecky" checked="checked" /> |
| 29 | + <input type="checkbox" id="disabledchecky" disabled="disabled" name="disabledchecky" /> |
| 30 | + <input type="checkbox" id="randomly_disabled_checky" disabled="somerandomstring" checked="checked" name="randomlydisabledchecky" /> |
| 31 | + <br/> |
| 32 | + <select name="selectomatic"> |
| 33 | + <option selected="selected" id="non_multi_option" value="one">One</option> |
| 34 | + <option value="two">Two</option> |
| 35 | + <option value="four">Four</option> |
| 36 | + <option value="still learning how to count, apparently">Still learning how to count, apparently</option> |
| 37 | + </select> |
| 38 | + |
| 39 | + <select name="multi" id="multi" multiple="multiple"> |
| 40 | + <option selected="selected" value="eggs">Eggs</option> |
| 41 | + <option value="ham">Ham</option> |
| 42 | + <option selected="selected" value="sausages">Sausages</option> |
| 43 | + <option value="onion gravy">Onion gravy</option> |
| 44 | + </select> |
| 45 | + |
| 46 | + <select name="no-select" disabled="disabled"> |
| 47 | + <option value="foo">Foo</option> |
| 48 | + <option value="bar">Bar</option> |
| 49 | + </select> |
| 50 | + |
| 51 | + <select name="select_empty_multiple" multiple> |
| 52 | + <option id="multi_1" value="select_1">select_1</option> |
| 53 | + <option id="multi_2" value="select_2">select_2</option> |
| 54 | + <option id="multi_3" value="select_3">select_3</option> |
| 55 | + <option id="multi_4" value="select_4">select_4</option> |
| 56 | + </select> |
| 57 | + |
| 58 | + <select name="multi_true" multiple="true"> |
| 59 | + <option id="multi_true_1" value="select_1">select_1</option> |
| 60 | + <option id="multi_true_2" value="select_2">select_2</option> |
| 61 | + </select> |
| 62 | + |
| 63 | + <select name="multi_false" multiple="false"> |
| 64 | + <option id="multi_false_1" value="select_1">select_1</option> |
| 65 | + <option id="multi_false_2" value="select_2">select_2</option> |
| 66 | + </select> |
| 67 | + |
| 68 | + <select name="single_disabled"> |
| 69 | + <option id="sinlge_disabled_1" value="enabled">Enabled</option> |
| 70 | + <option id="sinlge_disabled_2" value="disabled" disabled="disabled">Disabled</option> |
| 71 | + </select> |
| 72 | + |
| 73 | + <select name="multi_disabled" multiple="true"> |
| 74 | + <option id="multi_disabled_1" value="enabled">Enabled</option> |
| 75 | + <option id="multi_disabled_2" value="disabled" disabled="disabled">Disabled</option> |
| 76 | + </select> |
| 77 | + |
| 78 | + <select id="invisi_select" style="opacity:0;"> |
| 79 | + <option selected value="apples">Apples</option> |
| 80 | + <option value="oranges">Oranges</option> |
| 81 | + </select> |
| 82 | + |
| 83 | + <select name="select-default"> |
| 84 | + <option>One</option> |
| 85 | + <option>Two</option> |
| 86 | + <option>Four</option> |
| 87 | + <option>Still learning how to count, apparently</option> |
| 88 | + </select> |
| 89 | + |
| 90 | + <select name="select_with_spaces"> |
| 91 | + <option>One</option> |
| 92 | + <option> Two </option> |
| 93 | + <option> |
| 94 | + Four |
| 95 | + </option> |
| 96 | + <option> |
| 97 | + Still learning how to count, |
| 98 | + apparently |
| 99 | + </option> |
| 100 | + </select> |
| 101 | + |
| 102 | + <select> |
| 103 | + <option id="blankOption"></option> |
| 104 | + <option id="optionEmptyValueSet" value="">nothing</option> |
| 105 | + </select> |
| 106 | + |
| 107 | + <br/> |
| 108 | + |
| 109 | + <input type="radio" id="cheese" name="snack" value="cheese"/>Cheese<br/> |
| 110 | + <input type="radio" id="peas" name="snack" value="peas"/>Peas<br/> |
| 111 | + <input type="radio" id="cheese_and_peas" name="snack" value="cheese and peas" checked/>Cheese and peas<br/> |
| 112 | + <input type="radio" id="nothing" name="snack" value="nowt" disabled="disabled"/>Not a sausage<br/> |
| 113 | + <input type="radio" id="randomly_disabled_nothing" name="snack" value="funny nowt" disabled="somedisablingstring"/>Not another sausage |
| 114 | + |
| 115 | + <input type="hidden" name="hidden" value="fromage" /> |
| 116 | + |
| 117 | + <p id="cheeseLiker">I like cheese</p> |
| 118 | + <input type="submit" value="Click!"/> |
| 119 | + |
| 120 | + <input type="radio" id="lone_disabled_selected_radio" name="not_a_snack" value="cumberland" checked="checked" disabled="disabled" />Cumberland sausage |
| 121 | +</form> |
| 122 | + |
| 123 | +<form method="get" action="resultPage.html" name="disable"> |
| 124 | + <input type="text" id="working"/> |
| 125 | + <input type="text" id="notWorking" disabled="true"/> |
| 126 | + |
| 127 | + <textarea id="notWorkingArea" disabled="disabled" cols="5" rows="5"></textarea> |
| 128 | + |
| 129 | + <input type="text" id="inputWithText" value="Example text"/> |
| 130 | + <textarea id="withText" rows="5" cols="5">Example text</textarea> |
| 131 | + <textarea id="emptyTextArea" rows="5" cols="5"></textarea> |
| 132 | +</form> |
| 133 | + |
| 134 | +<form method="post" action="resultPage.html"> |
| 135 | + <select id="redirect" name="redirect" onchange="javascript:changePage();"> |
| 136 | + <option selected="selected" value="one">One</option> |
| 137 | + <option id="changeme" value="two">Two</option> |
| 138 | + </select> |
| 139 | + |
| 140 | + <input id="no-type" /> |
| 141 | + <input type="file" id="upload" onchange="document.getElementById('fileResults').innerHTML = 'changed';" /> |
| 142 | + <span id="fileResults"></span> |
| 143 | + |
| 144 | + <input type="submit" /> |
| 145 | +</form> |
| 146 | + |
| 147 | +<form method="get" action="resultPage.html"> |
| 148 | + <input type="text" value="name" name="id-name1"/> |
| 149 | + <input type="text" value="id" id="id-name1"/> |
| 150 | + |
| 151 | + <!-- Reverse the ordering --> |
| 152 | + <input type="text" value="id" id="id-name2"/> |
| 153 | + <input type="text" value="name" name="id-name2"/> |
| 154 | + <input name="readonly" readonly="readonly" /> |
| 155 | +</form> |
| 156 | + |
| 157 | +<!-- form with nested children --> |
| 158 | +<form method="get" action="resultPage.html" id="nested_form"> |
| 159 | + <div> |
| 160 | + <input type="text" value="name" name="x"/> |
| 161 | + </div> |
| 162 | + <input type="submit" /> |
| 163 | +</form> |
| 164 | + |
| 165 | +<!-- Form with disabled form elements --> |
| 166 | +<form method="get" action="xhtmlTest.html"> |
| 167 | + <p> |
| 168 | + <input type="text" id="disabledTextElement1" disabled="foo" /> |
| 169 | + <input type="text" id="disabledTextElement2" disabled="" /> |
| 170 | + <input type="submit" id="disabledSubmitElement" disabled="qwerty" value="Submit" /> |
| 171 | + </p> |
| 172 | +</form> |
| 173 | +<!-- Empty div to test GetAttribute --> |
| 174 | +<div id="wallace" class="gromit"></div> |
| 175 | + |
| 176 | +<input type='button' id='killIframe' onclick='top.remove();' value="Kill containing iframe" /> |
| 177 | + |
| 178 | +<form method="get" action="formPage.html"> |
| 179 | + <p> |
| 180 | + <label for="checkbox-with-label" id="label-for-checkbox-with-label">Label</label><input type="checkbox" id="checkbox-with-label" /> |
| 181 | + </p> |
| 182 | +</form> |
| 183 | + |
| 184 | +<form method="get" action="resultPage.html" name="submit_id"> |
| 185 | + <input type="submit" id="submit" value="Submit a Submit ID Button"/> |
| 186 | +</form> |
| 187 | + |
| 188 | +<form method="get" action="resultPage.html" name="submit_name"> |
| 189 | + <input type="submit" name="submit" value="Submit a Submit ID Button"/> |
| 190 | +</form> |
| 191 | + |
| 192 | +<input id="vsearchGadget" name="SearchableText" type="text" size="18" value="" title="Hvad søger du?" accesskey="4" class="inputLabel" /> |
| 193 | +</body> |
| 194 | +</html> |
0 commit comments