On second click disable all clicks for two seconds?
<p>I have a grid of divs where class is "box" and would like for the user to be able to click on two of them, then have to wait two seconds before being able to click on another one.</p>

<p>This is as far as I've gotten...</p>

<pre><code>var clickNumber = 0;

$(".box").click(function () {
    $(this).removeClass('red').addClass('blue');
    switch (clickNumber){
        case 0:
            clickNumber++;
            break;
        case 1:
            setTimeout(function() {
                //disable click for class "box"
        }, 2000);
            clickNumber = 0;
            break;
    }
});
</code></pre>

<p>A more complete example...</p>

<p><a href="http://jsfiddle.net/wZP6J/" rel="nofollow">http://jsfiddle.net/wZP6J/</a></p>

<p>Thank you!</p>
