I would like to fire an event when anything on the page is clicked, and then process normally. For example a click would be fired, I would see if the target matched something, alert if it did, and then have the click event continue (no preventDefault()).
I would like to fire an event when anything on the page is clicked,
Share
This will handle all click events unless a handler prevents the event from bubbling up (by calling the stopPropagation() method of the event object).