I'd like to bind both events to a div, such that: When the div is clicked, Event A fires. When the div is double-clicked, event B fires. But not event A.
The single-click event works fine. And the double-click works too, except both events fire on double-click. That is, immediately after the first click (of two), Event A fires.... Then on the second click of the double-click, event B fires... Is there a way I can separate the two events? ...Rene