Clicking on elements in jQuery causes bubble up to body. If we have a click handler binded to body that shows an alert, then clicking on any element will bubble up to body a
The "event" parameter passed to the handler has a "target" property, which refers to the element that was the direct target of the event. You can check that property to see if it's the element.
Note that the jQuery ".delegate()" facility can be used to do that checking for you.