 <p>You use </p> <pre><code>$("#testForm").trigger('submit'); </code></pre> <p>The way you went with is binding the submit event to a function, which means once submit occurs, something you specify in the function (that you don't have) will happen.</p>