gecko-dev/dom/browser-element/mochitest/file_post_request.html
2012-10-19 18:39:22 +08:00

16 lines
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>