<body onload="document.myform.submit()"> <form action="someaction" method="post" name="myform"> ... </form> </body>