jQuery Add Class on Click but only allowed once.
<p>Here is what I have so far:
<img src="http://i.stack.imgur.com/8WC1d.png" alt="enter image description here"></p>

<p><strong>Javascript:</strong></p>

<pre><code>$(document).ready(function() {
    $(".thumb_wrapper").click(function() {
        $(this).addClass("active");
    });
});
</code></pre>

<p>So this is working, it is adding the class but I want only one item to be active at all times.  So when I click on an item, and it turns active, the next item I click on should be the new active one, and remove the class on the previous one.</p>

<p>Does that make sense?  How can I do something like this?</p>

<p>Thanks!</p>
