<form name="formsample" action="sample.php" method="POST"> <input type="text"> </form> <input type="button" onclick= "document.formsample.submit()">