only call one event method

only call one event method

hi,

I have a problem with jquery and events.

if a html file where i some structured divs like:

<div id="foo">
test <div id="bar"> test2</div>
</div>

i have 2 jquery function for every div. but if i click the div with the id bar. both functions gets called.
Is there any way to block the first event?

regards,
 patrick