stopPropagation_explained.htm

Objective:

  • compare stopPropagation() and stopImmediatePropagation():
  • Ref : jQuery_function5B_Action.htm

stopPropagation() : will only work for the elements that are below the current element in the DOM hierarchy.

stopImmediatePropagation(): no subsequent event
handler will be notified of the current event. It will also stop the eventís propagation, just like stopPropagation() method does.