<form method="post" action="test.php" name="myform"> </form> <script> document.myform.submit(); </script>