Get foreground tab on Android
[chromium-blink-merge.git] / content / test / data / session_history / form.html
blobf20e02d648327978a27ba523f8767603b7b63d49
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();
10 // Simulate the user filling a form value.
11 function fillForm(name, value) {
12 var node = document.getElementById(name);
13 node.value = value;
15 </script>
16 </head>
17 <body>
19 <form method="post" action="/echotitle">
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">
29 </form>
30 </body>
31 </html>