| <html> |
| <head> |
| <title>form</title> |
| <script> |
| // Simulate the user clicking on the submit button. |
| function submitForm(name) { |
| var node = document.getElementById(name); |
| node.click(); |
| } |
| // Simulate the user filling a form value. |
| function fillForm(name, value) { |
| var node = document.getElementById(name); |
| node.value = value; |
| } |
| </script> |
| </head> |
| <body> |
| |
| <form method="post" action="/echotitle"> |
| |
| <p><input name="text" id="itext"> |
| <p><select name="select" id="iselect"> |
| <option selected>a |
| <option>b |
| <option>c |
| </select> |
| <p><input type="submit" value="Submit" id="isubmit"> |
| |
| </form> |
| </body> |
| </html> |