I don't think there's an actual event that will do it, but you could
write your own.  Something like:

When the mousedown event fires, set a variable with a date.
When the user clicks again make sure a minimum amount of time has passed
(and also make sure it's less than a certain max time you determine). 
If the second click of the button falls within your pre-defined range,
fire off the double-click event, else, set the variable to new Date and
wait for another click.

--- In [email protected], "flexawesome" <[EMAIL PROTECTED]>
wrote:
>
> Hey there,
>
> I have a button and would like to detect DoubleClick event. Is that
> possible?
>
> Thanks a lot
>

Reply via email to