I'm trying to disable double click selection on certain elements. I have tried
$('#rand').on('dblclick', function(e) {
e.preventDefault();
});
and many other variations. I can achieve the effect by preventing default on mousedown but that also disables selection by dragging. How can I disable the double click event without disabling drag and select?
Here's the fiddle.. http://jsfiddle.net/rBRRb/
P.S: I have read many similar questions, but din't find a solution that works for my case.