Understanding event propagationCancelling default behavior

Méthode normale

stopPropagation()

mon_element.addEventListener('click',function(e) {
  console.log("clic sur mon_element.");
  e.stopPropagation();
}, false);

<IE8

on assigne la valeur true à la propriété cancelbubble

cancelbubble = true;