I have a basic table, like this:
<table>
<tbody>
<tr>
<td>Column 1</td>
<td>Column 2</td>
</tr>
</tbody>
</table>
On the rows I have a double click function with jQuery:
$('tr').live('dblclick',function(){
dosomething();
return false;
});
I also have a plugin called tablednd that uses mousedown/up function on the rows. The double clicking causes text selection on the cells.
How can I prevent this?