Form Submit action
<html> <body> <script language="JavaScript"> function function1(){ document.all.myF.submit(); } </script> <form id="myF" method="post" action="yourfile.asp"> Enter your first name: <input type="text"> </form> <input type="button" value="Send the form" onClick="function1();"> </body> </html>