blob: 9ed815e03facb6b4ed3b8623644985b4417b95e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<html>
<head>
<script>
function submitFormIfNecessary()
{
if (window.location.search)
return;
document.forms[0].submit.click();
}
</script>
</head>
<body onload="submitFormIfNecessary()">
<form action="#" method="GET">
<input type="text" name="textField" value="text field">
<input type="password" name="passwordField" value="password field">
<input type="hidden" name="hiddenField" value="hidden field">
<input type="submit" name="submit">
</form>
</body>
</html>
|