Jquery dont allow button to be pressed
<p>If i have a button pressed method like this:</p>

<pre><code>$('#next').click(function () {
});
</code></pre>

<p>How can i stop this method being initiated whilst its running. Say the method takes 5 seconds to run and someone clicks it 3 seconds in it breaks so i want to make the div thats being clicked unclickable while the methods running. </p>
