Why don't you just add the class, like this: $(".btn").click(function(){
if($(this).hasClass('disabled')) //alert("can't touch this!"); } else { $(this).addClass('disabled'); $("#somethingElse").doStuff('slow', function(){ $('.btn').removeClass('disabled'); }); } });