<html> <head> </head> <body> <script type="text/javascript"> <!-- function click(){ document.form1.submit(); } //--> </script> <form name="form1" action="#" method="POST"> <input type="button" id="btn" name="btn" value="btn" onclick="click();"/> </form> </body> </html>