I am trying to prevent multiple clicks on links and items, which is causing problems.
I am using jQuery to bind click events to buttons (jQuery UI) and image links (<a><img /></a>).
Is there a way to do-once-for-all prevent other events from firing after a click occurs?
Or do I have to maintain a global variable called _isProcessing and set it to true for each event handler?
Thanks
Edit: (clarification) Thanks for your answers, my problem isn't preventing the bubbling of the event, but preventing multiple concurrent clicks.