| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <body> | 2 <body> |
| 3 <form method="POST" action="done.html" onsubmit="return true;" id="testform"> | 3 <form method="POST" action="done.html" onsubmit="return true;" id="testform"> |
| 4 <input type="text" id="username_field" name="username_field"> | 4 <input type="text" id="username_field" name="username_field"> |
| 5 <input type="password" id="password_field" name="password_field"> | 5 <input type="password" id="password_field" name="password_field"> |
| 6 <input type="submit" id="input_submit_button" name="input_submit_button"> | 6 <input type="submit" id="input_submit_button" name="input_submit_button"> |
| 7 </form> | 7 </form> |
| 8 | 8 |
| 9 <button id="submit_button" name="submit_button" | 9 <button id="submit_button" name="submit_button" |
| 10 onclick="document.getElementById('testform').submit()"> | 10 onclick="document.getElementById('testform').submit()"> |
| 11 Submit! | 11 Submit! |
| 12 </button> | 12 </button> |
| 13 | 13 |
| 14 <a id="link" href="done.html">Go somewhere</a> |
| 15 |
| 14 <form method="POST" action="done.html" id="testform_no_name"> | 16 <form method="POST" action="done.html" id="testform_no_name"> |
| 15 <input type="text" id="username_field_no_name"> | 17 <input type="text" id="username_field_no_name"> |
| 16 <input type="password" id="password_field_no_name"> | 18 <input type="password" id="password_field_no_name"> |
| 17 <input type="submit" id="input_submit_button_no_name"> | 19 <input type="submit" id="input_submit_button_no_name"> |
| 18 </form> | 20 </form> |
| 19 | 21 |
| 20 <form method="POST" action="done.html" id="testform_elements_no_id"> | 22 <form method="POST" action="done.html" id="testform_elements_no_id"> |
| 21 <input type="text" name="username_field_no_id"> | 23 <input type="text" name="username_field_no_id"> |
| 22 <input type="password" name="password_field_no_id"> | 24 <input type="password" name="password_field_no_id"> |
| 23 <input type="submit" name="input_submit_button_no_id"> | 25 <input type="submit" name="input_submit_button_no_id"> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 47 </form> | 49 </form> |
| 48 | 50 |
| 49 <form method="POST" action="failed.html" id="to_failed"> | 51 <form method="POST" action="failed.html" id="to_failed"> |
| 50 <input type="text" id="username_failed" name="username_failed"> | 52 <input type="text" id="username_failed" name="username_failed"> |
| 51 <input type="password" id="password_failed" name="password_failed"> | 53 <input type="password" id="password_failed" name="password_failed"> |
| 52 <input type="submit" id="submit_failed" name="submit_failed"> | 54 <input type="submit" id="submit_failed" name="submit_failed"> |
| 53 </form> | 55 </form> |
| 54 | 56 |
| 55 </body> | 57 </body> |
| 56 </html> | 58 </html> |
| OLD | NEW |