title: Disable click on an element during animation
body: <p>I want to prevent clicking on an element, while it performs some animations and then enable it later. I have tried to use unbind and then bind, but clicking remains permanently disabled.
  Is there any other way to do it?</p>
  
  <pre><code>$("something").on("click", function() {
      $("selected").unbind("click");
      $("selected").animate({...}, function() {
          $("selected").unbind("click");
      });
  </code></pre>
  
  <p>basically, i don't want someone to click on the selected div while the animation is in progress, as clicking on it will start another set of animations which i don't want to start in between. </p>