How remove the previous event?
<p>tell me what I need to correct, to the repeated clicking on another cell <code>TR</code> previous events are deleted</p>

<p><a href="http://jsfiddle.net/WGdyk/1/" rel="nofollow">Full example</a></p>

<pre><code>$('table tbody tr').each(function() {
    $('table tr:even').addClass('even');

    $(this).hover(function(){
        $(this).toggleClass("active");
    });

    $(this).click(function(){
        $(this).closest('tr').toggleClass('visited');
    })

});
</code></pre>
