Richard: Your example (utilizing event detail - useful info, that) will
still perform the 'click' action when double-clicked, just does it once
instead of twice.

I believe the OP ("I wanted to execute dblclick or click, not both.") was
asking "How do I prevent the click() event from firing when the user
performs a doubleclick?"

The answer appears, however, to be "there's no easy way".  (a 'click
handler' could conceivably be written to accept the click and do nothing for
a specified period of time, then act on the click if a double-click were not
also received, so if it's important enough it CAN be done)

j

Reply via email to