<form>

Submit form with JavaScript.

var form = document.getElementById("theForm");
form.submit();