Questions tagged [event-propagation]

Event propagation, or "bubbling", occurs when an event occurs inside an element, which is stacked in other elements.

Event propagation, or "bubbling", occurs when an event occurs inside an element, which is stacked in other elements. In this case the event is being dispatched from the innermost element towards the outermost element. Event propagation can be stopped programmatically, even though it might cause unexpected results.

236 questions
0
votes
1 answer

Jquery propagation

I have a div on my webpage that I am populating with an AJAX call, I can reference elements in jquery already event.preventdefault() and that works great. However I am trying to select an element now as apposed to having the page respond to the…
user2247671
  • 243
  • 1
  • 5
  • 14
0
votes
2 answers

Prevent Area Tag Page Reload on Angular Ng-Click

I've got an image with an associated link map. The one area tag I have in there has an ng-click on it. Currently, when you click that ng-click, the function it links to runs, but then the page reloads. How do I prevent the page from reloading in the…
alloy
  • 756
  • 1
  • 13
  • 23
0
votes
4 answers

AS3: What is the best way to put button-behaviors ONLY on child_mcs of a container_mc

I have a container_mc, with lots of child_mcs inside. I want the child_mcs to have full button-like behaviors (click-able, cursor effects). I am not interested in putting individual mouse listeners on every child. ... I would like to simply have…
dsdsdsdsd
  • 2,880
  • 6
  • 41
  • 56
0
votes
1 answer

Javascript Event Bubbling Not Working As Expected

Having a nightmare trying to figure out event Bubbling.. Full test case: