I want to prevent multiple submit if someone click on one of the submit buttons multiple times.

How can `unbind` or `undelgate` in this case the call of my custom function `do_some_stuff` that is only happens one time, because I try some of the jquery methods, but I think I did something wrong. Thanks

```
$(function() {
    $('div.ajax').delegate('form button', 'click', function(e) {
        $(this).do_some_stuff();
        e.preventDefault();
    });
});

```