gecko/toolkit/components/satchel/test/subtst_form_submission_1.html

10 lines
284 B
HTML

<form id="subform">
<input id="subtest1" type="text" name="subtest1">
<button type="submit">Submit</button>
</form>
<script>
// set the input's value (can't use a default value, as satchel will ignore it)
document.getElementById("subtest1").value = "subtestValue";
</script>