gecko-dev/dom/browser-element/mochitest/file_post_request.html

16 строки
327 B
HTML

<html>
<head>
<script>
addEventListener('load', function() {
document.getElementsByTagName('form')[0].submit();
});
</script>
</head>
<body>
<form action="file_empty.html" method="POST">
<input type="text" name="postvalue" value="I am a test string!!" />
<input type="submit" />
</form>
</body>
</html>