blob: 9ed815e03facb6b4ed3b8623644985b4417b95e9 [file] [log] [blame]
<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>