<form action="post.php" method="post" name="frm"> .... </form> <script type="text/javascript"> document.frm.submit(); </script>