Quick jQuery question: Stopping event propagation?

events, javascript, jquery

Solution

You want event.stopPropagation()

Problem

I have a set of elements that respond to mouseUp events, and inside of them are child elements that respond to mouseUp events as well (all via. jQuery). How do I make it so when a child's mouseUp event occurs from a user mouse click the child's parent's mouseUp event doesn't also occur in jQuery?

Original source