Is the callback function of the double-click handler separate (has a
variable name to reference)?
If so, just use that function as the callback to the single-click
handler.

Otherwise, maybe you can just have the single-click trigger a double-
click event. I haven't tried this.

$("#myDiv").click(function() {
    $(this).trigger("dblclick");
});

On Jul 13, 3:59 pm, Piers Plowden <piersplow...@gmail.com> wrote:
> I'm wondering if anyone knows a method for 'converting' a single click  
> to (effectively) a double click with a timeout?
>
> I have an onclick handler issue that requires a double click for an  
> event that the user will expect to need only a single click for.....
>
> Thanks!

Reply via email to