Jquery prevent multiple submit
<p>I want to prevent multiple submit if someone click on one of the submit buttons multiple times.</p>

<p>How can <code>unbind</code> or <code>undelgate</code> in this case the call of my custom function <code>do_some_stuff</code> that is only happens onetime, because I try some of the jquery methods, but I think I did someting wrong. Thanks</p>

<pre><code> $(function() {
        $('div.ajax').delegate('form button', 'click', function(e) {
            $(this).do_some_stuff();
            e.preventDefault();
        });
    });
</code></pre>
