OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>form</title> | |
4 <script> | |
5 // Simulate the user clicking on the submit button. | |
6 function submitForm(name) { | |
7 var node = document.getElementById(name); | |
8 node.click(); | |
9 } | |
10 // Simulate the user filling a form value. | |
11 function fillForm(name, value) { | |
12 var node = document.getElementById(name); | |
13 node.value = value; | |
14 } | |
15 </script> | |
16 </head> | |
17 <body> | |
18 | |
19 <form method="post" action="/echotitle"> | |
20 | |
21 <p><input name="text" id="itext"> | |
22 <p><select name="select" id="iselect"> | |
23 <option selected>a | |
24 <option>b | |
25 <option>c | |
26 </select> | |
27 <p><input type="submit" value="Submit" id="isubmit"> | |
28 | |
29 </form> | |
30 </body> | |
31 </html> | |
OLD | NEW |