title: how to prevent click queue build up, using toggle in jquery? tried using bind/unbind('click')
body: <p>i want to disable the click handler when the toggle animation is showing so the animation won't build up because of multiple fast click. thanks</p>
  
  <p><strong>jquery script:</strong></p>
  
  <pre><code>$("#button").click({
      $(this).unbind('click').next().toggle("slow",function(){$('#button').bind('click')});
  });
  </code></pre>
  
  <p><strong>html code</strong></p>
  
  <pre><code>&lt;div
     &lt;a href='#' id='button'&gt;Toggle&lt;/a&gt;
     &lt;div&gt;
      test
     &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>