unbinding buttons then binding with settimeout

unbinding buttons then binding with settimeout

I am trying to disable my buttons after clicking, which slide div's in to view, Then activating them after a second or two.

I have given all my buttons the class all_buttons.

I thought this would work.

                        $(".all_buttons").unbind('click',function() {
                               setTimeout(function(){
                              $(".all_buttons").bind('click');
                               },3000);
                         });

Would be great full for any suggestions.
    • Topic Participants

    • alan