Single click triggered on a double click
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1067464/need-to-cancel-click-mouseup-events-when-double-click-event-detected">Need to cancel click/mouseup events when double-click event detected</a>  </p>
</blockquote>



<p>I am trying to get a HTML object to behave differently when a <code>single</code> or <code>double</code> click event happens.</p>

<p>Currently with my working example <a href="http://jsfiddle.net/9vvEG/" rel="nofollow">http://jsfiddle.net/9vvEG/</a> the single click is triggered on the double click, I wish for my code to listen exclusively for the event pre-configured.  <strong><em>i.e. if double clicked ignore single click and vice versa.</em></strong></p>

<p>No success as of yet, but if you click my example link above you can see the error in progress.</p>
