TypeError: (intermediate value).apply is not a function
<p>I am trying to submit a form with the button that is not inside the form...</p>

<pre><code>&lt;form id="updateForm"&gt;
&lt;input type="text" name="a" /&gt;
&lt;input type="text" name="b" /&gt;
&lt;/form&gt;

&lt;input type="button" class="done"/&gt;
</code></pre>

<p>I have this jquery function that I tried</p>

<pre><code>$(".done").click('#updateForm','submit',function(e)
{

    $.ajax(
    {

    });
});
</code></pre>

<p>But... I get the error. Is there any alternatives?</p>