1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<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>