I tried to find a solution involving the event object's
preventDefault() and stopPropagation() methods, but I couldn't get it
to work.

I was able to get the desired behavior with this tiny but excellent
plugin:
http://www.jdempster.com/category/jquery/disableTextSelect/

Hope that works for you!

thanks,
David

On Mar 2, 4:22 am, "guillaume sempé" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I have a function binded on dblClick event of a DIV. When user
> dblclick on the DIV its content is selected and my function is
> executed. Is there any solution to avoid content selection on
> dlbclick ?
>
> Thank you.
> Guillaume.

Reply via email to