mirror of
https://github.com/classilla/tenfourfox.git
synced 2025-01-22 11:33:03 +00:00
29 lines
625 B
HTML
29 lines
625 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Subtest for Login Manager notifications - Form with only a username field</title>
|
|
</head>
|
|
<body>
|
|
<h2>Subtest 5</h2>
|
|
<form id="form" action="formsubmit.sjs">
|
|
<input id="user" name="user">
|
|
<button type='submit'>Submit</button>
|
|
</form>
|
|
|
|
<script>
|
|
function submitForm() {
|
|
userField.value = "notifyu1";
|
|
//passField.value = "notifyp1";
|
|
form.submit();
|
|
}
|
|
|
|
window.onload = submitForm;
|
|
var form = document.getElementById("form");
|
|
var userField = document.getElementById("user");
|
|
//var passField = document.getElementById("pass");
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|