jquery tools .onSuccess
<p>Can someone point me in the right direction on this? I am using Tools as a validator but wanting to execute the ajax submit function that I have ONLY IF ALL validation passes. I have a working validation script here that works, and an ajax call that works; but I'm having a time trying to figure out how to get them to work together.</p>

<p>How can I do this?</p>

<pre><code>$(document).ready(function() {
    $("#leadbanker_intake_form").validator({ 
        position: 'center right',
        offset: [0, 0],
        message: '&lt;div&gt;&lt;em/&gt;&lt;/div&gt;'
    }).bind("onSuccess", function(e, els) {
        // FUNCTION HERE still works even though some forms haven't validated
    }
});
</code></pre>
