1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31

content / test / data / session_history / form.html [blame]

<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>