Combine two pieces of JQUERY
<p>I' using:</p>

<pre><code>$(document).ready(function() { 
    $('#pollform').ajaxForm(function() { 
    $('#pollform').reset();
    }); 
}); 
</code></pre>

<p>How can I bring in the following to the above function?</p>

<pre><code>$('#myForm2').ajaxForm( { beforeSubmit: validate } ); 
</code></pre>
