How do I delay a form from submitting
<p>I have an additional function to execute before I submit the form. This isn't doing the trick.</p>

<pre><code>$('form').submit( function(event) {
    var formId = $(this).attr('id');
    mySpecialFunction(formId);

    event.preventDefault();

    setTimeout( function () { 
        $(this).submit();
    }, 300);

}); 
</code></pre>

<p>This isn't working obviously.</p>
