Possible Duplicate:
Need to cancel click/mouseup events when double-click event detected
I am trying to get a HTML object to behave differently when a single
or double
click event happens.
Currently with my working example http://jsfiddle.net/9vvEG/ the single click is triggered on the double click, I wish for my code to listen exclusively for the event pre-configured. i.e. if double clicked ignore single click and vice versa.
No success as of yet, but if you click my example link above you can see the error in progress.