<form action="#" method="post"> <input type="text"/><br /> <input type="text"/> <input type="button" value="submit" onclick="this.form.submit();"/> </form>