jQuery double click, but don't select the content
<p>I'm using jquery's dbclick() function in order to toggle highlight of the table raw. The problem I'm facing is that whenever I double click the content of the cell is also selected. Is there an easy way to prevent content selection?</p>

<p>My code:</p>

<pre><code>if ($('.tbl_repeat').length &gt; 0) {
    $('.tbl_repeat tr').dblclick(function() {
        $(this).toggleClass('tr_active');
    });
}
</code></pre>

<p>Perhaps I didn't make myself clear - I don't want to disable selecting all together - only when the double click occurs - apart from this event everything else should be selectable as usual.</p>
